aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-01-30 11:01:48 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-01-30 11:01:48 +0000
commit37e760aca16b9998e18c132f755adc4ade1e7714 (patch)
treecb4244ee0cf3c36a29f96f908cb284be59ea434a
parent6f70f4e19b353f0eaa347a8ab86100399d8f9ece (diff)
downloadports-37e760aca16b9998e18c132f755adc4ade1e7714.tar.gz
ports-37e760aca16b9998e18c132f755adc4ade1e7714.zip
Notes
-rw-r--r--audio/libaiff/Makefile1
-rw-r--r--audio/libaiff/files/patch-Makefile.in27
-rw-r--r--audio/libaiff/files/patch-configure10
3 files changed, 35 insertions, 3 deletions
diff --git a/audio/libaiff/Makefile b/audio/libaiff/Makefile
index 3be5317e0b70..ad236d534f83 100644
--- a/audio/libaiff/Makefile
+++ b/audio/libaiff/Makefile
@@ -12,7 +12,6 @@ COMMENT= Read and write AIFF files
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-NO_STAGE= yes
PLIST_FILES= lib/${PORTNAME}.a include/${PORTNAME}/config.h include/${PORTNAME}/endian.h \
include/${PORTNAME}/${PORTNAME}.h include/${PORTNAME}/config.vc.h
diff --git a/audio/libaiff/files/patch-Makefile.in b/audio/libaiff/files/patch-Makefile.in
index 8144b442c32e..e9b3bcc6fb53 100644
--- a/audio/libaiff/files/patch-Makefile.in
+++ b/audio/libaiff/files/patch-Makefile.in
@@ -1,5 +1,5 @@
---- Makefile.in.org 2009-02-03 09:18:56.000000000 +0100
-+++ Makefile.in 2009-02-03 09:19:09.000000000 +0100
+--- Makefile.in.orig 2007-09-20 21:42:28.000000000 +0200
++++ Makefile.in 2014-01-30 12:02:16.000000000 +0100
@@ -6,7 +6,7 @@
CFLAGS = @DEFS@ -I. -Ilibaiff -g -O2 -ansi -pedantic -Wall -Wfloat-equal -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wno-unreachable-code
@@ -9,3 +9,26 @@
prefix = @prefix@
+@@ -15,14 +15,14 @@
+
+ all: libaiff.a
+
+-install: libaiff.a
+- cp libaiff.a $(prefix)/lib
+- $(RANLIB) $(prefix)/lib/libaiff.a
+- chmod 0444 $(prefix)/lib/libaiff.a
+- cp -R ./libaiff $(prefix)/include/libaiff
+- chmod 0755 $(prefix)/include/libaiff
+- chmod 0444 $(prefix)/include/libaiff/*
+- rm -f $(prefix)/include/libaiff/config.h.in
++install:
++ cp libaiff.a $(DESTDIR)$(prefix)/lib
++ $(RANLIB) $(DESTDIR)$(prefix)/lib/libaiff.a
++ chmod 0444 $(DESTDIR)$(prefix)/lib/libaiff.a
++ cp -R ./libaiff $(DESTDIR)$(prefix)/include/libaiff
++ chmod 0755 $(DESTDIR)$(prefix)/include/libaiff
++ chmod 0444 $(DESTDIR)$(prefix)/include/libaiff/*
++ rm -f $(DESTDIR)$(prefix)/include/libaiff/config.h.in
+
+ uninstall: deinstall
+
diff --git a/audio/libaiff/files/patch-configure b/audio/libaiff/files/patch-configure
new file mode 100644
index 000000000000..ba1189b711dc
--- /dev/null
+++ b/audio/libaiff/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig 2014-01-30 12:04:02.000000000 +0100
++++ configure 2014-01-30 12:04:11.000000000 +0100
+@@ -645,6 +645,7 @@
+ localedir
+ mandir
+ DEFS
++DESTDIR
+ ECHO_C
+ ECHO_N
+ ECHO_T