aboutsummaryrefslogtreecommitdiffstats
path: root/lang/pugs
diff options
context:
space:
mode:
Diffstat (limited to 'lang/pugs')
-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: