aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2005-03-16 11:41:31 +0800
committerclsung <clsung@FreeBSD.org>2005-03-16 11:41:31 +0800
commitb4fe6448ca1a4c4ae28ec25310abc1a2c2fe463b (patch)
tree172e6dd4040cf26f53ebcd7cb7417bad1cb0cd63
parent16a6297a616968647480bb3a37360da136c0adbb (diff)
downloadfreebsd-ports-gnome-b4fe6448ca1a4c4ae28ec25310abc1a2c2fe463b.tar.gz
freebsd-ports-gnome-b4fe6448ca1a4c4ae28ec25310abc1a2c2fe463b.tar.zst
freebsd-ports-gnome-b4fe6448ca1a4c4ae28ec25310abc1a2c2fe463b.zip
- make pugs linkable with ghc 6.4
- it lacks libgmp in its ld path - so force it to look up ${PREFIX}/lib
-rw-r--r--lang/pugs/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/pugs/Makefile b/lang/pugs/Makefile
index 477a08ada4e6..03bd75cd30dc 100644
--- a/lang/pugs/Makefile
+++ b/lang/pugs/Makefile
@@ -31,6 +31,10 @@ post-configure:
-e '/^INSTALLARCHLIB/s,${PREFIX}/lib,${PREFIX}/lib/perl6/mach,' \
${WRKSRC}/Makefile
+post-patch:
+ @${REINPLACE_CMD} -e '/-isrc$$/s,-isrc,-isrc -L${PREFIX}/lib,' \
+ ${WRKSRC}/Makefile.PL
+
.if !defined(NOPORTDOCS)
EXDIR= ${WRKSRC}/examples
post-install: