aboutsummaryrefslogtreecommitdiffstats
path: root/audio/cdparanoia
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2010-12-22 00:59:39 +0800
committerdanfe <danfe@FreeBSD.org>2010-12-22 00:59:39 +0800
commit6349a8eaba22eacf394d3f2c79a51991ebacf4da (patch)
treedc321265bc8d1db992daab54f2407a1316d3bd1e /audio/cdparanoia
parent822da29e6e5f24a1862d7f9dc76c3b3167587ef9 (diff)
downloadfreebsd-ports-gnome-6349a8eaba22eacf394d3f2c79a51991ebacf4da.tar.gz
freebsd-ports-gnome-6349a8eaba22eacf394d3f2c79a51991ebacf4da.tar.zst
freebsd-ports-gnome-6349a8eaba22eacf394d3f2c79a51991ebacf4da.zip
- Fix parallel builds [*]
- Cleanup and take maintainership Adopted from: OpenBSD [*] Approved by: markus (previous maintainer)
Diffstat (limited to 'audio/cdparanoia')
-rw-r--r--audio/cdparanoia/Makefile7
-rw-r--r--audio/cdparanoia/files/patch-interface-Makefile.in26
-rw-r--r--audio/cdparanoia/files/patch-paranoia-Makefile.in25
3 files changed, 53 insertions, 5 deletions
diff --git a/audio/cdparanoia/Makefile b/audio/cdparanoia/Makefile
index d713212de4d9..88f16dee5a3b 100644
--- a/audio/cdparanoia/Makefile
+++ b/audio/cdparanoia/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: cdparanoia
-# Date created: 5 Jan 2003
+# Date created: 5 Jan 2003
# Whom: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
#
# $FreeBSD$
@@ -13,13 +13,12 @@ MASTER_SITES= http://www.xiph.org/paranoia/download/
DISTNAME= ${PORTNAME}-${PORTVERSION:C/^3\./III-alpha/}
EXTRACT_SUFX= .src.tgz
-MAINTAINER= markus@FreeBSD.org
+MAINTAINER= danfe@FreeBSD.org
COMMENT= A CDDA extraction tool (also known as ripper)
-USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
-MAKE_JOBS_UNSAFE= yes
+USE_LDCONFIG= yes
MAN1= cdparanoia.1
diff --git a/audio/cdparanoia/files/patch-interface-Makefile.in b/audio/cdparanoia/files/patch-interface-Makefile.in
index fa4badc07e74..ba4aee123c93 100644
--- a/audio/cdparanoia/files/patch-interface-Makefile.in
+++ b/audio/cdparanoia/files/patch-interface-Makefile.in
@@ -22,7 +22,31 @@ diff -u -r1.1.1.1 -r1.3
CPPFLAGS+=-D_REENTRANT
OFILES = scan_devices.o common_interface.o cooked_interface.o interface.o\
-@@ -46,7 +46,7 @@
+@@ -23,19 +23,15 @@
+
+ export VERSION
+
+-all: lib slib
+-
+-debug:
+- $(MAKE) libcdda_interface.a CFLAGS="$(DEBUG)"
+-
+-lib:
++all:
+ $(MAKE) libcdda_interface.a CFLAGS="$(OPT)"
+-
+-slib:
+ $(MAKE) lessmessy
+ $(MAKE) libcdda_interface.so CFLAGS="$(OPT) -fpic"
+ [ -e libcdda_interface.so.0 ] || ln -s libcdda_interface.so libcdda_interface.so.0
+
++debug:
++ $(MAKE) libcdda_interface.a CFLAGS="$(DEBUG)"
++
+ test:
+ $(MAKE) libcdda_interface.a CFLAGS="$(DEBUG)"
+ $(CC) $(DEBUG) -c test.c
+@@ -46,7 +42,7 @@
$(RANLIB) libcdda_interface.a
libcdda_interface.so: $(OFILES)
diff --git a/audio/cdparanoia/files/patch-paranoia-Makefile.in b/audio/cdparanoia/files/patch-paranoia-Makefile.in
new file mode 100644
index 000000000000..32d7c25fc532
--- /dev/null
+++ b/audio/cdparanoia/files/patch-paranoia-Makefile.in
@@ -0,0 +1,25 @@
+--- paranoia/Makefile.in.orig
++++ paranoia/Makefile.in
+@@ -24,18 +24,14 @@
+ LIBS = ../interface/libcdda_interface.a -lm
+ export VERSION
+
+-all: lib slib
+-
+-debug:
+- $(MAKE) libcdda_paranoia.a CFLAGS="$(DEBUG)"
+-
+-lib:
++all:
+ $(MAKE) libcdda_paranoia.a CFLAGS="$(OPT)"
+-
+-slib:
+ $(MAKE) lessmessy
+ $(MAKE) libcdda_paranoia.so CFLAGS="$(OPT) -fpic"
+
++debug:
++ $(MAKE) libcdda_paranoia.a CFLAGS="$(DEBUG)"
++
+ #test: $(TFILES)
+ #
+