summaryrefslogtreecommitdiff
path: root/package/libXau
diff options
context:
space:
mode:
Diffstat (limited to 'package/libXau')
-rw-r--r--package/libXau/Makefile7
-rw-r--r--package/libXau/patches/patch-ltmain_sh11
2 files changed, 12 insertions, 6 deletions
diff --git a/package/libXau/Makefile b/package/libXau/Makefile
index 21d31154e..41d6adcaf 100644
--- a/package/libXau/Makefile
+++ b/package/libXau/Makefile
@@ -24,12 +24,7 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXAU,libxau,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,LIBXAU_DEV,libxau-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXAU_DEV},${PKGSC_LIBXAU_DEV},${PKG_OPTS}))
-SUB_INSTALLS-y:=
-SUB_INSTALLS-m:=
-SUB_INSTALLS-${ADK_PACKAGE_LIBXAU_DEV}+=libxau-dev-install
-
-
-post-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
+post-install:
${INSTALL_DIR} ${IDIR_LIBXAU}/usr/lib
${CP} ${WRKINST}/usr/lib/libXau.so* ${IDIR_LIBXAU}/usr/lib/
diff --git a/package/libXau/patches/patch-ltmain_sh b/package/libXau/patches/patch-ltmain_sh
new file mode 100644
index 000000000..065bd8d32
--- /dev/null
+++ b/package/libXau/patches/patch-ltmain_sh
@@ -0,0 +1,11 @@
+--- libXau-1.0.5.orig/ltmain.sh 2009-05-18 04:20:07.000000000 +0200
++++ libXau-1.0.5/ltmain.sh 2011-01-14 00:48:29.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"