summaryrefslogtreecommitdiff
path: root/Mk/bsd.fpc.mk
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2009-05-22 21:57:33 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2009-05-22 21:57:33 +0000
commit492605858bd519ba9067483f8c03d0ad87e1884b (patch)
tree824ff7f29f652a1f1dd23ded5258e381d9d2fff4 /Mk/bsd.fpc.mk
parent- Update to 2.5.1 (diff)
- Add support to defined USE_FPC after of bsd.port.pre.mk include
Notes
Notes: svn path=/head/; revision=234414
Diffstat (limited to 'Mk/bsd.fpc.mk')
-rw-r--r--Mk/bsd.fpc.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/Mk/bsd.fpc.mk b/Mk/bsd.fpc.mk
index 2a204d773fc5..b3985664ce7c 100644
--- a/Mk/bsd.fpc.mk
+++ b/Mk/bsd.fpc.mk
@@ -23,7 +23,7 @@
#
#
-.if !defined(_POSTMKINCLUDED) && !defined(_FPCMKINCLUDED)
+.if !defined(_FPCMKINCLUDED)
_FPCMKINCLUDED= yes
@@ -86,6 +86,7 @@ IGNORE= unknown value, please use "yes" instead of
IGNORE= cannot install: unknown FPC unit ${UNITS}
. endif
. endfor
+.endif
# Base units
gdbint_UNIT= devel/fpc-gdbint
@@ -155,6 +156,10 @@ x11_UNIT= x11/fpc-x11
xforms_UNIT= x11-toolkits/fpc-xforms
zlib_UNIT= devel/fpc-zlib
+.endif
+
+.if defined(_POSTMKINCLUDED) && defined(USE_FPC)
+
. for UNITS in ${USE_FPC}
. if ${_FPC_ALL_UNITS:M${UNITS}}!=""
BUILD_DEPENDS+= ${UNITSDIR}/${UNITS}/Package.fpc:${PORTSDIR}/${${UNITS:S/-/_/}_UNIT}
@@ -164,5 +169,5 @@ security-check: fpc-check-install
. endfor
.endif
-.endif
+#.endif
# End of bsd.fpc.mk file