aboutsummaryrefslogtreecommitdiff
path: root/databases/sqlite3/Makefile
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-11-21 12:25:46 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-11-21 12:25:46 +0000
commitcdc80713fcdf6523bed9f330ce51948d5ac4171b (patch)
treea4f19c7832c05f3ff3864328408d8804753b487f /databases/sqlite3/Makefile
parentb6b52a0fdc0f1a5f9dfd5a9dca90dda067f4bec8 (diff)
downloadports-cdc80713fcdf6523bed9f330ce51948d5ac4171b.tar.gz
ports-cdc80713fcdf6523bed9f330ce51948d5ac4171b.zip
Notes
Diffstat (limited to 'databases/sqlite3/Makefile')
-rw-r--r--databases/sqlite3/Makefile30
1 files changed, 15 insertions, 15 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile
index 7f6e70e872cb..5dfa3d44b75e 100644
--- a/databases/sqlite3/Makefile
+++ b/databases/sqlite3/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= sqlite
-PORTVERSION= 3.3.7
+PORTVERSION= 3.3.8
CATEGORIES= databases
MASTER_SITES= http://www.sqlite.org/
@@ -26,10 +26,10 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DOCSDIR= ${PREFIX}/share/doc/sqlite3
EXAMPLESDIR= ${PREFIX}/share/examples/sqlite3
-OPTIONS= TCLWRAPPER "TCL wrapper for SQLITE" off \
- THREADS "Enable threads support" off \
- DEBUG "Enable debugging & verbose explain" off \
- DOCS "Building docs (depends on TCL)" on
+OPTIONS= DEBUG "Enable debugging & verbose explain" off \
+ DOCS "Building docs (depends on TCL)" on \
+ TCLWRAPPER "TCL wrapper for SQLITE" off \
+ THREADS "Enable threads support" off
# Defaults, for building the docs:
TCL_V?= 8.4
@@ -38,6 +38,16 @@ MAKE_ENV+= TCL_VER=${TCL_V}
.include <bsd.port.pre.mk>
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+= --enable-debug
+.endif
+
+.if !defined(NOPORTDOCS) && !defined(WITHOUT_DOCS)
+BUILD_DEPENDS+= tclsh${TCL_V}:${PORTSDIR}/lang/tcl${TCL_V:S/.//}
+ALL_TARGET+= all doc
+PORTDOCS= *
+.endif
+
.if defined(WITH_TCLWRAPPER)
CATEGORIES+= lang tcl${TCL_V:S/.//}
LIB_DEPENDS+= tcl${TCL_V:S/.//}:${PORTSDIR}/lang/tcl${TCL_V:S/.//}
@@ -52,16 +62,6 @@ PLIST_SUB+= WITH_TCLWRAPPER="@comment "
CONFIGURE_ARGS+= --enable-threadsafe
.endif
-.if defined(WITH_DEBUG)
-CONFIGURE_ARGS+= --enable-debug
-.endif
-
-.if !defined(NOPORTDOCS) && !defined(WITHOUT_DOCS)
-BUILD_DEPENDS+= tclsh${TCL_V}:${PORTSDIR}/lang/tcl${TCL_V:S/.//}
-ALL_TARGET= all doc
-PORTDOCS= *
-.endif
-
post-patch:
.if defined(WITH_THREADS)
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \