aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2012-09-30 08:28:07 +0800
committeracm <acm@FreeBSD.org>2012-09-30 08:28:07 +0800
commit53c3690ac9d7002657b7a77bd88125c96bdeac03 (patch)
treefbf98e027d275a0de376ae1cb46ad8c7d85b89a0 /lang
parent19787b1012eb78631d2e99149d2118613dd1cfc0 (diff)
downloadfreebsd-ports-gnome-53c3690ac9d7002657b7a77bd88125c96bdeac03.tar.gz
freebsd-ports-gnome-53c3690ac9d7002657b7a77bd88125c96bdeac03.tar.zst
freebsd-ports-gnome-53c3690ac9d7002657b7a77bd88125c96bdeac03.zip
- Fix editors/fpc-ide
Diffstat (limited to 'lang')
-rw-r--r--lang/fpc/Makefile.units9
-rw-r--r--lang/fpc/pkg-plist2
2 files changed, 8 insertions, 3 deletions
diff --git a/lang/fpc/Makefile.units b/lang/fpc/Makefile.units
index 171f19915be3..3bedf197ec54 100644
--- a/lang/fpc/Makefile.units
+++ b/lang/fpc/Makefile.units
@@ -8,16 +8,17 @@ PATCHDIR= ${.CURDIR}/files
FILESDIR= ${.CURDIR}/files
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+FPCDIR= ${LOCALBASE}/lib/${PORTNAME}/${PORTVERSION}
UNITPREFIX= unit-
UNITEXTRACT_SUFX= .tar.gz
UNITNAME= ${UNITPREFIX}${PKGNAMESUFFIX:S/-//}${BUILDNAME:S/^/./}${UNITEXTRACT_SUFX}
UNITDIR= lib/fpc/${PORTVERSION}/units/${BUILDNAME}
EXTRACT_AFTER_ARGS= | ${TAR} -xf - ${EXTRACTUNITDIR}
-OPT=-CX
+OPT=-Ur -CX
MAKE_ENV+= PP=${LOCALBASE}/bin/${PPNAME} \
- FPCDIR=${LOCALBASE}/lib/${PORTNAME}/${PORTVERSION} \
+ FPCDIR=${FPCDIR} \
FPCMAKE=${LOCALBASE}/bin/fpcmake \
FPCTARGET=${BUILDNAME} \
ARCH=${FPC_ARCH} \
@@ -141,6 +142,10 @@ USE_FIREBIRD= yes
USE_ICONV= yes
.endif
+.if ${PKGNAMESUFFIX} == "-ide"
+FPCDIR= #
+.endif
+
.if ${PKGNAMESUFFIX} == "-imagemagick"
. if defined(WITH_IMAGEMAGICK)
LIB_DEPENDS= Magick:${PORTSDIR}/graphics/ImageMagick
diff --git a/lang/fpc/pkg-plist b/lang/fpc/pkg-plist
index be0703a5c5fd..c04d7f9e0380 100644
--- a/lang/fpc/pkg-plist
+++ b/lang/fpc/pkg-plist
@@ -1,4 +1,4 @@
-@comment $FreeBSD: /tmp/pcvs/ports/lang/fpc/pkg-plist,v 1.14 2012-04-19 06:19:58 acm Exp $
+@comment $FreeBSD: ports/lang/fpc/pkg-plist,v 1.14 2012/04/19 06:19:58 acm Exp $
@unexec if cmp -s %D/etc/fpc.cfg.sample %D/etc/fpc.cfg; then rm -f %D/etc/fpc.cfg; fi
etc/fpc.cfg.sample