Libaacs compiles fine under subdir and remove "unrecognized options: --disable-examples, --disable-debug"

also i dont think the patch is needed.

enable autoreconf
This commit is contained in:
Patrick Rasmussen 2015-03-19 12:50:29 +01:00 committed by Stephan Raue
parent db8e8a7056
commit 342505ff32
2 changed files with 1 additions and 23 deletions

View File

@ -35,17 +35,9 @@ PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--disable-werror \
--disable-extra-warnings \
--disable-optimizations \
--disable-examples \
--disable-debug \
--with-gnu-ld"
pre_configure_target() {
# libaacs fails to build in subdirs
cd $ROOT/$PKG_BUILD
rm -rf .$TARGET_NAME
}
post_makeinstall_target() {
mkdir -p $INSTALL/usr/config/aacs
cp -P KEYDB.cfg $INSTALL/usr/config/aacs
cp -P ../KEYDB.cfg $INSTALL/usr/config/aacs
}

View File

@ -1,14 +0,0 @@
diff --git a/configure.ac b/configure.ac
index 466f7f9..0dec17f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,7 +27,7 @@ AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip])
AC_CONFIG_HEADERS(config.h)
AM_MAINTAINER_MODE
-SET_FEATURES="-D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L"
+SET_FEATURES="-D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500"
case "${host_os}" in
"")