summaryrefslogtreecommitdiff
path: root/package/openct
diff options
context:
space:
mode:
Diffstat (limited to 'package/openct')
-rw-r--r--package/openct/Makefile6
-rw-r--r--package/openct/patches/patch-ltmain_sh11
2 files changed, 12 insertions, 5 deletions
diff --git a/package/openct/Makefile b/package/openct/Makefile
index 1164c4a13..b2e5e8a79 100644
--- a/package/openct/Makefile
+++ b/package/openct/Makefile
@@ -27,11 +27,7 @@ $(eval $(call PKG_template,OPENCT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PK
$(eval $(call PKG_template,LIBOPENCT,libopenct,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBOPENCT},${PKGSD_LIBOPENCT},${PKGSC_LIBOPENCT}))
$(eval $(call PKG_template,LIBOPENCT_DEV,libopenct-dev,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBOPENCT_DEV},${PKGSC_LIBOPENCT_DEV}))
-SUB_INSTALLS-y:=
-SUB_INSTALLS-m:=
-SUB_INSTALLS-${ADK_PACKAGE_LIBOPENCT_DEV}+= libopenct-dev-install
-
-post-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
+post-install:
${INSTALL_DIR} ${IDIR_OPENCT}/etc ${IDIR_OPENCT}/usr/{sbin,bin}
${INSTALL_BIN} ${WRKINST}/usr/sbin/openct-control \
${IDIR_OPENCT}/usr/sbin
diff --git a/package/openct/patches/patch-ltmain_sh b/package/openct/patches/patch-ltmain_sh
new file mode 100644
index 000000000..54653d706
--- /dev/null
+++ b/package/openct/patches/patch-ltmain_sh
@@ -0,0 +1,11 @@
+--- openct-0.6.20.orig/ltmain.sh 2010-02-16 10:03:04.000000000 +0100
++++ openct-0.6.20/ltmain.sh 2011-01-16 13:43:14.000000000 +0100
+@@ -4765,7 +4765,7 @@ func_mode_link ()
+ # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
+ # @file GCC response files
+ -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
+- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto)
+ func_quote_for_eval "$arg"
+ arg="$func_quote_for_eval_result"
+ func_append compile_command " $arg"