aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2001-05-12 01:06:29 +0800
committervanilla <vanilla@FreeBSD.org>2001-05-12 01:06:29 +0800
commit166580c338b0cd6a50983df7a0ebc3c29e40547d (patch)
treeee7ded7177f521fc44ed1744e6e9bf317e2d4cb1
parentdbedf14e3bbe633e03fffd8009fc8341a804ae3e (diff)
downloadfreebsd-ports-gnome-166580c338b0cd6a50983df7a0ebc3c29e40547d.tar.gz
freebsd-ports-gnome-166580c338b0cd6a50983df7a0ebc3c29e40547d.tar.zst
freebsd-ports-gnome-166580c338b0cd6a50983df7a0ebc3c29e40547d.zip
Fix undefined symbol problem.
PR: ports/26721 Submitted by: Jason R. Mastaler <jason@mastaler.com>
-rw-r--r--audio/p5-Audio-CD/Makefile3
-rw-r--r--audio/p5-Audio-CD/files/patch-aa12
2 files changed, 3 insertions, 12 deletions
diff --git a/audio/p5-Audio-CD/Makefile b/audio/p5-Audio-CD/Makefile
index dc00d9f6fd00..ea6d49a72a3c 100644
--- a/audio/p5-Audio-CD/Makefile
+++ b/audio/p5-Audio-CD/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Audio-CD
PORTVERSION= 0.04
+PORTREVISION= 1
CATEGORIES= audio perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Audio
@@ -17,6 +18,8 @@ MAINTAINER= roman@xpert.com
LIB_DEPENDS= cdaudio.1:${PORTSDIR}/audio/libcdaudio
PERL_CONFIGURE= YES
+CONFIGURE_ARGS= INC="-I${LOCALBASE}/include " \
+ LIBS="-L${LOCALBASE}/lib -lcdaudio"
MAN3= Audio::CD.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
diff --git a/audio/p5-Audio-CD/files/patch-aa b/audio/p5-Audio-CD/files/patch-aa
deleted file mode 100644
index 69031515a270..000000000000
--- a/audio/p5-Audio-CD/files/patch-aa
+++ /dev/null
@@ -1,12 +0,0 @@
---- Makefile.PL.orig Wed May 17 08:12:52 2000
-+++ Makefile.PL Sun Oct 22 17:41:36 2000
-@@ -7,7 +7,8 @@
- 'macro' => {
- CVSROOT => 'modperl.com:/local/cvs_repository',
- },
-- 'LIBS' => ["-lcdaudio"],
-+ 'INC' => "-I\${PREFIX}/include",
-+ 'LIBS' => "-L\${PREFIX}/lib -lcdaudio",
- DEFINE => '-g',
- OBJECT => 'cddb_lookup.o CD.o',
- );