diff options
author | acm <acm@FreeBSD.org> | 2012-05-17 05:49:29 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2012-05-17 05:49:29 +0800 |
commit | 4f9ee886fcd5e51c00d405ed73b49b4af83a35df (patch) | |
tree | 51f8ce860d0a89db50b516266e321f59a1b7cdf2 /lang/fpc | |
parent | 27aac75e72e0620e978803fa71231884377b2d4e (diff) | |
download | freebsd-ports-gnome-4f9ee886fcd5e51c00d405ed73b49b4af83a35df.tar.gz freebsd-ports-gnome-4f9ee886fcd5e51c00d405ed73b49b4af83a35df.tar.zst freebsd-ports-gnome-4f9ee886fcd5e51c00d405ed73b49b4af83a35df.zip |
- Fix a problem when fpc.cfg is removed on deinstall time
- Bump PORTREVISION
Reported by: erwin
Diffstat (limited to 'lang/fpc')
-rw-r--r-- | lang/fpc/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/fpc/Makefile b/lang/fpc/Makefile index bdb37bbd3e75..2351ba28b629 100644 --- a/lang/fpc/Makefile +++ b/lang/fpc/Makefile @@ -7,7 +7,7 @@ PORTNAME= fpc PORTVERSION= 2.6.0 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES?= lang MASTER_SITES= ftp://ftp.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/:source \ ftp://planetmirror.com/pub/fpc/dist/${PORTVERSION}/source/:source \ @@ -154,10 +154,10 @@ post-install: if [ -e "${PREFIX}/bin/${PPNAME}" ]; then ${RM} -f "${PREFIX}/bin/${PPNAME}"; fi ${LN} -s "${PREFIX}/lib/fpc/${PORTVERSION}/${PPNAME}" "${PREFIX}/bin" ${SH} "${PREFIX}/lib/fpc/${PORTVERSION}/samplecfg" "${PREFIX}/lib/fpc/${PORTVERSION}" "${PREFIX}/etc" + @${REINPLACE_CMD} -i "" -e 's|^-Fl/usr/local/lib|-Fl${LOCALBASE}/lib;${LOCALBASE}/lib/qt4|g' ${PREFIX}/etc/fpc.cfg @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 |