diff options
author | acm <acm@FreeBSD.org> | 2009-05-23 05:57:33 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2009-05-23 05:57:33 +0800 |
commit | 3c42024ce91510233974e8a29d31afae83717740 (patch) | |
tree | b67a36534f9790711e53f010746f08a82ec3bcd9 /Mk/bsd.fpc.mk | |
parent | 25994403ee83b6d1261c74cf56fe8dc69342da05 (diff) | |
download | freebsd-ports-gnome-3c42024ce91510233974e8a29d31afae83717740.tar.gz freebsd-ports-gnome-3c42024ce91510233974e8a29d31afae83717740.tar.zst freebsd-ports-gnome-3c42024ce91510233974e8a29d31afae83717740.zip |
- Add support to defined USE_FPC after of bsd.port.pre.mk include
Diffstat (limited to 'Mk/bsd.fpc.mk')
-rw-r--r-- | Mk/bsd.fpc.mk | 9 |
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 |