openbsd-ports/audio/p5-Audio-CD/patches/patch-Makefile.PL
avsm 95b23a7286 Fix compilation:
- do not hardcode /usr/local, use LOCALBASE
- patch Makefile.PL to use LDFLAGS, CPPFLAGS from CONFIGURE_ENV
2001-02-06 10:08:38 +00:00

13 lines
364 B
Perl

--- Makefile.PL.orig Tue May 16 23:12:52 2000
+++ Makefile.PL Tue Feb 6 03:05:28 2001
@@ -7,7 +7,8 @@ WriteMakefile(
'macro' => {
CVSROOT => 'modperl.com:/local/cvs_repository',
},
- 'LIBS' => ["-lcdaudio"],
+ 'LIBS' => [ "$ENV{LDFLAGS} -lcdaudio" ],
+ 'INC' => $ENV{CPPFLAGS},
DEFINE => '-g',
OBJECT => 'cddb_lookup.o CD.o',
);