diff options
author | mnag <mnag@FreeBSD.org> | 2009-03-24 07:38:18 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2009-03-24 07:38:18 +0800 |
commit | 1e1efd85e67b0b53e84c4f208117bd66e2691efd (patch) | |
tree | d11359bbad8128c3b08789a0930b9540eb29b5f6 /databases/sqlite2 | |
parent | bc32a9eece6873b8b785606dec747f38c56df435 (diff) | |
download | freebsd-ports-gnome-1e1efd85e67b0b53e84c4f208117bd66e2691efd.tar.gz freebsd-ports-gnome-1e1efd85e67b0b53e84c4f208117bd66e2691efd.tar.zst freebsd-ports-gnome-1e1efd85e67b0b53e84c4f208117bd66e2691efd.zip |
- Fix NOPORT* build
Reported by: QAT
Diffstat (limited to 'databases/sqlite2')
-rw-r--r-- | databases/sqlite2/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/databases/sqlite2/Makefile b/databases/sqlite2/Makefile index c8741686404d..9527269e4999 100644 --- a/databases/sqlite2/Makefile +++ b/databases/sqlite2/Makefile @@ -71,7 +71,7 @@ PLIST_SUB+= WITH_TCLWRAPPER="" PLIST_SUB+= WITH_TCLWRAPPER="@comment " .endif -.if !defined(NOPORTDOCS) && !defined(WITHOUT_DOCS) +.if !defined(WITHOUT_DOCS) PORTDOCS= * MAKE_ARGS+= TCLSH=${TCLSH} MAKE_ENV+= TCL_VER=${TCL_VER} @@ -80,10 +80,14 @@ MAKE_ENV+= TCL_VER=${TCL_VER} post-patch: @${REINPLACE_CMD} -e "s/tclsh \$$(TOP)/\$$(TCLSH) \$$(TOP)/g" \ -e "s|\./libtool|${LIBTOOL}|g" ${WRKSRC}/Makefile.in +.if defined(WITH_TCLWRAPPER) || !defined(WITHOUT_DOCS) @${ECHO} "config_TARGET_TCL_INC=\"-I${TCL_INCLUDEDIR}\"" \ > ${WRKSRC}/freebsd.hints @${ECHO} "config_TARGET_TCL_LIBS=\"-L${PREFIX}/lib -ltcl${TCL_VER:S/.//}\"" \ >> ${WRKSRC}/freebsd.hints +.else + @${ECHO} "" > ${WRKSRC}/freebsd.hints +.endif .if defined(WITH_THREADS) @${ECHO} "config_TARGET_CFLAGS=\"-DTHREADSAFE=1 ${PTHREAD_LIBS}\"" \ >> ${WRKSRC}/freebsd.hints |