aboutsummaryrefslogtreecommitdiffstats
path: root/lang/fpc
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2012-05-08 02:51:22 +0800
committeracm <acm@FreeBSD.org>2012-05-08 02:51:22 +0800
commitbf97e95ebb65fe7407d8bc40117f54ed8adde671 (patch)
treea2aeffe73b3797a48fe6e2b517f1154c43327705 /lang/fpc
parent41cb6fdc124414875589394367344d0be2a590b0 (diff)
downloadfreebsd-ports-gnome-bf97e95ebb65fe7407d8bc40117f54ed8adde671.tar.gz
freebsd-ports-gnome-bf97e95ebb65fe7407d8bc40117f54ed8adde671.tar.zst
freebsd-ports-gnome-bf97e95ebb65fe7407d8bc40117f54ed8adde671.zip
- Add ${LOCALBASE}/lib/qt4 path to fpc.cfg config file
- Bump PORTREVISION
Diffstat (limited to 'lang/fpc')
-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