summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/bootstrap-cmds/_metadata/depends1
-rw-r--r--data/bootstrap-cmds/make.sh1
-rwxr-xr-xdata/llvm-clang/_metadata/postinst2
-rwxr-xr-xdata/llvm-clang/_metadata/prerm2
-rw-r--r--data/llvm-clang/_metadata/provides2
5 files changed, 7 insertions, 1 deletions
diff --git a/data/bootstrap-cmds/_metadata/depends b/data/bootstrap-cmds/_metadata/depends
new file mode 100644
index 000000000..46c1d6125
--- /dev/null
+++ b/data/bootstrap-cmds/_metadata/depends
@@ -0,0 +1 @@
+cc
diff --git a/data/bootstrap-cmds/make.sh b/data/bootstrap-cmds/make.sh
index 2ac6f74ac..4b62a147d 100644
--- a/data/bootstrap-cmds/make.sh
+++ b/data/bootstrap-cmds/make.sh
@@ -7,3 +7,4 @@ ${PKG_TARG}-gcc -o migcom *.c -save-temps
pkg: mkdir -p /usr/bin /usr/libexec
pkg: cp -a migcom /usr/libexec
pkg: cp -a mig.sh /usr/bin/mig
+pkg: chmod a+x /usr/bin/mig
diff --git a/data/llvm-clang/_metadata/postinst b/data/llvm-clang/_metadata/postinst
index bebc210cd..c2ae4f7a9 100755
--- a/data/llvm-clang/_metadata/postinst
+++ b/data/llvm-clang/_metadata/postinst
@@ -6,8 +6,10 @@ case "$1" in
for prog in ${LLVMPROGS}; do
update-alternatives --quiet --install /usr/bin/${prog} ${prog} /usr/bin/llvm-${prog} 50
done
+ update-alternatives --quiet --install /usr/bin/cc cc /usr/bin/clang 50
update-alternatives --quiet --install /usr/bin/gcc gcc /usr/bin/clang 50
update-alternatives --quiet --install /usr/bin/cpp cpp /usr/bin/clang-cpp 50
+ update-alternatives --quiet --install /usr/bin/c++ c++ /usr/bin/clang++ 50
update-alternatives --quiet --install /usr/bin/g++ g++ /usr/bin/clang++ 50
;;
diff --git a/data/llvm-clang/_metadata/prerm b/data/llvm-clang/_metadata/prerm
index 119c2de8f..b3783cb23 100755
--- a/data/llvm-clang/_metadata/prerm
+++ b/data/llvm-clang/_metadata/prerm
@@ -5,8 +5,10 @@ case "$1" in
for prog in ${LLVMPROGS}; do
update-alternatives --quiet --remove ${prog} /usr/bin/llvm-${prog}
done
+ update-alternatives --quiet --remove cc /usr/bin/clang
update-alternatives --quiet --remove gcc /usr/bin/clang
update-alternatives --quiet --remove cpp /usr/bin/clang-cpp
+ update-alternatives --quiet --remove c++ /usr/bin/clang++
update-alternatives --quiet --remove g++ /usr/bin/clang++
;;
upgrade)
diff --git a/data/llvm-clang/_metadata/provides b/data/llvm-clang/_metadata/provides
index 08f4c1128..52db077d7 100644
--- a/data/llvm-clang/_metadata/provides
+++ b/data/llvm-clang/_metadata/provides
@@ -1 +1 @@
-org.coolstar.llvm-clang64, org.coolstar.llvm-clang
+org.coolstar.llvm-clang64, org.coolstar.llvm-clang, cc, gcc