aboutsummaryrefslogtreecommitdiff
path: root/audio/libaacplus/files
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2012-02-06 18:23:38 +0000
committerChris Rees <crees@FreeBSD.org>2012-02-06 18:23:38 +0000
commitb4c8ad87a17b571dbdcc22f1101b7a5f97599ca1 (patch)
tree2f00ce39fc04c49ce06c6da75c737761c49e0688 /audio/libaacplus/files
parent215ded566ee0d44ca696968514b7cea13fb86ce9 (diff)
downloadports-b4c8ad87a17b571dbdcc22f1101b7a5f97599ca1.tar.gz
ports-b4c8ad87a17b571dbdcc22f1101b7a5f97599ca1.zip
- Mark MAKE_JOBS_UNSAFE
PR: ports/163465 Submitted by: "T.J." <baotserver@gmail.com> - Remove dependency on unzip Submitted by: Takefu <takefu@airport.fm> (maintainer)
Notes
Notes: svn path=/head/; revision=290503
Diffstat (limited to 'audio/libaacplus/files')
-rw-r--r--audio/libaacplus/files/patch-configure.ac30
-rw-r--r--audio/libaacplus/files/patch-src_Makefile.am19
2 files changed, 46 insertions, 3 deletions
diff --git a/audio/libaacplus/files/patch-configure.ac b/audio/libaacplus/files/patch-configure.ac
index f5a574955fe1..c9eece272255 100644
--- a/audio/libaacplus/files/patch-configure.ac
+++ b/audio/libaacplus/files/patch-configure.ac
@@ -1,6 +1,30 @@
---- configure.ac.orig 2009-10-09 01:02:10.000000000 +0400
-+++ configure.ac 2010-09-16 04:08:51.000000000 +0400
-@@ -114,7 +114,7 @@
+--- configure.ac.orig 2010-11-11 06:27:45.000000000 +0900
++++ configure.ac 2012-01-26 17:47:39.000000000 +0900
+@@ -8,7 +8,7 @@
+ AM_CONFIG_HEADER(config.h)
+ AC_CONFIG_MACRO_DIR([m4])
+ # Checks for programs.
+-AC_PROG_CC
++AC_PROG_CC(clang gcc cc)
+ AM_PROG_CC_C_O
+ AC_PROG_CPP
+ AC_PROG_INSTALL
+@@ -16,10 +16,10 @@
+ AC_PROG_MAKE_SET
+ AC_LIBTOOL_WIN32_DLL
+ AM_PROG_LIBTOOL
+-AC_PATH_PROG([UNZIP],[unzip])
+-if test x"$UNZIP" = x -a ! -f "aacenc.c" ; then
+- AC_MSG_ERROR([You need unzip utility to prepare sources.])
+-fi
++dnl AC_PATH_PROG([UNZIP],[unzip])
++dnl if test x"$UNZIP" = x -a ! -f "aacenc.c" ; then
++dnl AC_MSG_ERROR([You need unzip utility to prepare sources.])
++dnl fi
+ AC_PATH_PROG([PATCH],[patch])
+ if test x"$PATCH" = x -a ! -f "aacenc.c" ; then
+ AC_MSG_ERROR([You need patch utility to prepare sources.])
+@@ -123,7 +123,7 @@
AACPLUS_VERSION="$VERSION"
AACPLUS_CPPFLAGS="-I$aacplus_includedir $FFTW3_CPPFLAGS"
diff --git a/audio/libaacplus/files/patch-src_Makefile.am b/audio/libaacplus/files/patch-src_Makefile.am
new file mode 100644
index 000000000000..72947be022e6
--- /dev/null
+++ b/audio/libaacplus/files/patch-src_Makefile.am
@@ -0,0 +1,19 @@
+--- src/Makefile.am.orig 2012-02-05 17:48:09.719522837 +0000
++++ src/Makefile.am 2012-02-05 17:49:47.572522148 +0000
+@@ -206,14 +206,14 @@
+ $(MAKE) unpack_3gp_sources
+
+ $(srcdir)/FloatFR_aacPlusenc:
+- cd $(srcdir) && $(UNZIP) 26410-800-ANSI-C_source_code.zip
++ cd $(srcdir) && /usr/bin/tar xf 26410-800-ANSI-C_source_code.zip
+ mv -f $(srcdir)/3GPP_enhanced_aacPlus_src_*/FloatFR_aacPlusenc $(srcdir)
+ rm -rf $(srcdir)/3GPP_enhanced_aacPlus_src_*
+
+
+ $(srcdir)/26410-800-ANSI-C_source_code.zip: $(srcdir)/26410-800.zip
+ rm -f $(srcdir)/26410-800-ANSI-C_source_code.zip $(srcdir)/26410-800.doc
+- cd $(srcdir) && $(UNZIP) 26410-800.zip
++ cd $(srcdir) && /usr/bin/tar xf 26410-800.zip
+ mv $(srcdir)/26410-800.doc $(top_srcdir)/26410-800.doc
+ chmod og-w $(top_srcdir)/26410-800.doc
+