diff options
author | ahze <ahze@FreeBSD.org> | 2008-04-06 00:51:13 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2008-04-06 00:51:13 +0800 |
commit | 3751a7a53dea42259598023192c5e175238903a2 (patch) | |
tree | 14f1dc40d5a364fb7a16cd8d9494a2c215f7249f | |
parent | 385989dfe411fd0639e9d9c53ccb711b717395f4 (diff) | |
download | freebsd-ports-gnome-3751a7a53dea42259598023192c5e175238903a2.tar.gz freebsd-ports-gnome-3751a7a53dea42259598023192c5e175238903a2.tar.zst freebsd-ports-gnome-3751a7a53dea42259598023192c5e175238903a2.zip |
Always enable threads (for tracker)
-rw-r--r-- | databases/qdbm/Makefile | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/databases/qdbm/Makefile b/databases/qdbm/Makefile index c62a9edaba47..5085d57cfa7d 100644 --- a/databases/qdbm/Makefile +++ b/databases/qdbm/Makefile @@ -3,10 +3,11 @@ # Whom: Kimura Fuyuki <fuyuki@nigredo.org> # # $FreeBSD$ -# $MCom: ports-stable/databases/qdbm/Makefile,v 1.4 2006/03/04 21:25:54 ahze Exp $ +# $MCom: ports-stable/databases/qdbm/Makefile,v 1.6 2008/03/29 20:07:25 ahze Exp $ PORTNAME= qdbm PORTVERSION= 1.8.77 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://qdbm.sourceforge.net/ @@ -21,7 +22,9 @@ USE_LDCONFIG= yes .if !defined(SLAVEPORT) USE_ICONV= yes CONFIGURE_ARGS= --enable-zlib \ - --enable-iconv + --enable-iconv \ + --enable-pthread +CFLAGS+= ${PTHREAD_CFLAGS} CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib" MAKE_ARGS= RELCFLAGS="${CFLAGS}" \ @@ -38,9 +41,6 @@ MAN3= cabin.3 curia.3 depot.3 hovel.3 odeum.3 qdbm.3 relic.3 villa.3 MLINKS= curia.3 cropen.3 depot.3 dpopen.3 \ odeum.3 odopen.3 villa.3 vlopen.3 villa.3 vista.3 -OPTIONS= PTHREAD "Enable pthread support" Off \ - DEBUG "Enable debug" Off - post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|${PREFIX}/libdata/pkgconfig|' \ @@ -70,15 +70,8 @@ post-patch: .include <bsd.port.pre.mk> -.if !defined(SLAVEPORT) -.if defined(WITH_DEBUG) +.if !defined(SLAVEPORT) && defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug .endif -.if defined(WITH_PTHREAD) -CONFIGURE_ARGS+= --enable-pthread -CFLAGS+= ${PTHREAD_CFLAGS} -.endif -.endif - .include <bsd.port.post.mk> |