1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/devel/p5-Cdk/files/patch-Makefile.PL
Ion-Mihai Tetcu 8177448b5e Fix build with custom LOCALBASE.
Reported by:	QATty
2009-06-05 18:41:48 +00:00

13 lines
512 B
Perl

--- ./Makefile.PL.orig 2002-07-28 22:09:50.000000000 +0300
+++ ./Makefile.PL 2009-06-05 21:13:48.635138099 +0300
@@ -13,7 +13,7 @@
WriteMakefile(
'NAME' => 'Cdk',
'VERSION' => '4.09010',
- 'LIBS' => ['-L/usr/local/lib -lcdk -lcurses'],
- 'INC' => '-I/usr/include/ncurses -I/usr/local/include/cdk',
+ 'LIBS' => ['-L%%LOCALBASE%%/lib -lcdk -lcurses'],
+ 'INC' => '-I/usr/include -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/cdk',
'clean' => {FILES => 'Makefile.old'},
);