aboutsummaryrefslogtreecommitdiff
path: root/audio/cdparanoia
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2010-12-21 16:59:39 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2010-12-21 16:59:39 +0000
commitb67d47fcc4bd8d031b5afb5dccdee959d29b83a5 (patch)
tree5e50178e6838cbc03098fefa4b29da5b3277157c /audio/cdparanoia
parent05f8d201e3c8e7bbda952b65214432211690335c (diff)
downloadports-b67d47fcc4bd8d031b5afb5dccdee959d29b83a5.tar.gz
ports-b67d47fcc4bd8d031b5afb5dccdee959d29b83a5.zip
Notes
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)
+ #
+