diff options
-rw-r--r-- | shells/ksh93/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shells/ksh93/Makefile b/shells/ksh93/Makefile index 02834876a099..e39512eb399e 100644 --- a/shells/ksh93/Makefile +++ b/shells/ksh93/Makefile @@ -23,7 +23,7 @@ COMMENT= Official AT&T release of KornShell 93 LICENSE= EPL -OPTIONS_DEFINE= STATIC +OPTIONS_DEFINE= EXAMPLES STATIC FETCH_ARGS= -Rr FETCH_ENV= HTTP_AUTH='basic:*:I accept www.opensource.org/licenses/cpl:.' @@ -52,7 +52,7 @@ do-build: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/ksh ${PREFIX}/bin/ksh93 ${INSTALL_MAN} ${WRKSRC}/man/man1/sh.1 ${MAN1PREFIX}/man/man1/ksh93.1 -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${EXAMPLESDIR}/ cd ${WRKSRC}/fun/ && ${INSTALL_SCRIPT} dirs popd pushd ${EXAMPLESDIR}/ .endif |