aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2012-05-07 18:51:22 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2012-05-07 18:51:22 +0000
commit1be5873e616397f2117db0e01b37ae56a4df7ab8 (patch)
treee99430f467a58c26fa0414e26dedbb18d1ca49f3
parentc9e75ff891060b41a4758e54cc2d5f7186ce4e54 (diff)
downloadports-1be5873e616397f2117db0e01b37ae56a4df7ab8.tar.gz
ports-1be5873e616397f2117db0e01b37ae56a4df7ab8.zip
Notes
-rw-r--r--lang/fpc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/fpc/Makefile b/lang/fpc/Makefile
index 72fff691d13d..bdb37bbd3e75 100644
--- a/lang/fpc/Makefile
+++ b/lang/fpc/Makefile
@@ -7,7 +7,7 @@
PORTNAME= fpc
PORTVERSION= 2.6.0
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= lang
MASTER_SITES= ftp://ftp.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/:source \
ftp://planetmirror.com/pub/fpc/dist/${PORTVERSION}/source/:source \
@@ -157,6 +157,7 @@ post-install:
@if [ ! -f ${PREFIX}/etc/fpc.cfg ]; then \
${CP} ${PREFIX}/etc/fpc.cfg.sample ${PREFIX}/etc/fpc.cfg; \
fi
+ @${REINPLACE_CMD} -i "" -e 's|^-Fl/usr/local/lib|-Fl${LOCALBASE}/lib;${LOCALBASE}/lib/qt4|g' ${PREFIX}/etc/fpc.cfg
@${CAT} ${PKGMESSAGE}
.else