Include bsd.port.pre.mk before checking OPTIONS. Thanks my mentor for

pointing this out. Totally my fault :(

Approved by:	itetcu (mentor)
This commit is contained in:
Dryice Dong Liu 2007-03-26 08:58:19 +00:00
parent b0e791a896
commit bf878b8584
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=188369

View File

@ -32,12 +32,14 @@ PLIST_SUB= FONTSDIR=${FONTSDIR} \
BUILD_DEPENDS+= mkfontdir:${X_CLIENTS_PORT}
BUILD_DEPENDS+= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
OPTIONS= ALIAS "Install fonts.alias" off
.include <bsd.port.pre.mk>
.if !defined(NOPORTDOCS)
PORTDOCS= AUTHORS ChangeLog COPYING INSTALL INSTALL.zh.gb2312 LOGO.png README
.endif
OPTIONS= ALIAS "Install fonts.alias" off
.if defined(WITH_ALIAS)
PLIST_SUB+= WITHALIAS=""
.else
@ -66,4 +68,4 @@ post-install:
.endfor
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>