summaryrefslogtreecommitdiff
path: root/net/p5-Net-Z3950/files/patch-Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'net/p5-Net-Z3950/files/patch-Makefile.PL')
-rw-r--r--net/p5-Net-Z3950/files/patch-Makefile.PL14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/p5-Net-Z3950/files/patch-Makefile.PL b/net/p5-Net-Z3950/files/patch-Makefile.PL
new file mode 100644
index 000000000000..08723e422c66
--- /dev/null
+++ b/net/p5-Net-Z3950/files/patch-Makefile.PL
@@ -0,0 +1,14 @@
+--- Makefile.PL.orig Sun Dec 23 23:08:17 2001
++++ Makefile.PL Sun Dec 23 23:09:10 2001
+@@ -7,9 +7,9 @@
+ 'NAME' => 'Net::Z3950',
+ 'VERSION_FROM' => 'Z3950.pm', # finds $VERSION
+ # 'LIBS' => ['-L/usr/local/src/yaz/lib/.libs -lyaz'], # e.g., '-lm'
+- 'LIBS' => ['-lyaz'], # e.g., '-lm'
++ 'LIBS' => ["-L$ENV{LOCALBASE}/lib -lyaz"], # e.g., '-lm'
+ 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
+-# 'INC' => '-I/usr/local/src/yaz/include',
++ 'INC' => "-I$ENV{LOCALBASE}/include",
+ 'PREREQ_PM' => { Event => 0.77 },
+ 'MYEXTLIB' => 'yazwrap/libyazwrap$(LIB_EXT)',
+ );