diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2001-08-26 06:00:14 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2001-08-26 06:00:14 +0000 |
commit | 381f660e681109e4bdc84dda2076dc1af1f51f00 (patch) | |
tree | 0369612bc7e019809a7f6f2d0f850d61a5773ba3 /x11-toolkits/p5-TclTk | |
parent | e6b5f38c1f7eab396b4a37b255dbf88c6b47dbb3 (diff) | |
download | ports-381f660e681109e4bdc84dda2076dc1af1f51f00.tar.gz ports-381f660e681109e4bdc84dda2076dc1af1f51f00.zip |
Notes
Diffstat (limited to 'x11-toolkits/p5-TclTk')
-rw-r--r-- | x11-toolkits/p5-TclTk/Makefile | 4 | ||||
-rw-r--r-- | x11-toolkits/p5-TclTk/files/patch-aa | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/x11-toolkits/p5-TclTk/Makefile b/x11-toolkits/p5-TclTk/Makefile index 3ce135bdf39f..41edb4c4b99d 100644 --- a/x11-toolkits/p5-TclTk/Makefile +++ b/x11-toolkits/p5-TclTk/Makefile @@ -23,4 +23,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME} MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= Tcl::Tk.3 +post-patch: + @${PERL} -pi -e 's,%LOCALBASE%,${LOCALBASE},g; \ + s,%X11BASE%,${X11BASE},g' ${WRKSRC}/Makefile.PL + .include <bsd.port.mk> diff --git a/x11-toolkits/p5-TclTk/files/patch-aa b/x11-toolkits/p5-TclTk/files/patch-aa index d916d5e67b56..d9f2c423b562 100644 --- a/x11-toolkits/p5-TclTk/files/patch-aa +++ b/x11-toolkits/p5-TclTk/files/patch-aa @@ -6,6 +6,6 @@ DISTNAME => "TclTk", - LIBS => ["-ltk -ltcl -L/usr/X11R6/lib -lX11 -lm"], - INC => "-I/usr/local/include -I/usr/include/tcl"); -+ LIBS => ["-L$ENV{PREFIX}/lib -L$ENV{X11BASE}/lib -ltk82 -ltcl82 -lX11 -lm"], -+ INC => "-I$ENV{PREFIX}/include -I$ENV{PREFIX}/include/tcl8.2 -I$ENV{PREFIX}/include/tk8.2 -I$ENV{X11BASE}/include"); ++ LIBS => ["-L%LOCALBASE%/lib -L%X11BASE%/lib -ltk82 -ltcl82 -lX11 -lm"], ++ INC => "-I%LOCALBASE%/include -I%LOCALBASE%/include/tcl8.2 -I%LOCALBASE%/include/tk8.2 -I%X11BASE%/include"); #sub MY::tool_autosplit { "AUTOSPLITFILE = :" } |