diff options
author | Xin LI <delphij@FreeBSD.org> | 2007-03-20 03:34:48 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2007-03-20 03:34:48 +0000 |
commit | d97691215965c7ae43396c31c5d9b32b6b8763b4 (patch) | |
tree | d795c76f56b62f16efca9eaacc4e2de45fcbf7cc /sysutils/cfengine/Makefile | |
parent | 32762a33ad6f972e07eed53518b3bb35118f3156 (diff) | |
download | ports-d97691215965c7ae43396c31c5d9b32b6b8763b4.tar.gz ports-d97691215965c7ae43396c31c5d9b32b6b8763b4.zip |
Notes
Diffstat (limited to 'sysutils/cfengine/Makefile')
-rw-r--r-- | sysutils/cfengine/Makefile | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/sysutils/cfengine/Makefile b/sysutils/cfengine/Makefile index d90211c22c88..dd19f98e9100 100644 --- a/sysutils/cfengine/Makefile +++ b/sysutils/cfengine/Makefile @@ -6,8 +6,7 @@ # PORTNAME= cfengine -PORTVERSION= 2.1.21 -PORTREVISION= 1 +PORTVERSION= 2.1.22 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.iu.hio.no/pub/cfengine/ \ ${MASTER_SITE_GNU} @@ -16,13 +15,15 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= sergei@FreeBSD.org COMMENT= A systems administration tool for networks -USE_BDB= yes +USE_BDB= 44 USE_OPENSSL= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS= --with-berkeleydb=${LOCALBASE} --with-docs -CPPFLAGS+= -I${BDB_INCLUDE_DIR} -LDFLAGS+= -L${BDB_LIB_DIR} -l${BDB_LIB_NAME} +CONFIGURE_ARGS= --with-docs +CONFIGURE_ENV+= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS} \ + BERKELEY_DB_CFLAGS=-I${BDB_INCLUDE_DIR} \ + BERKELEY_DB_LDFLAGS=-L${BDB_LIB_DIR} \ + BERKELEY_DB_LIB=-l${BDB_LIB_NAME} .if !defined(NOPORTDOCS) INFO= cfengine-Anomalies cfengine-Reference cfengine-Tutorial @@ -33,4 +34,10 @@ MAN8= cfagent.8 cfengine.8 cfenvd.8 cfenvgraph.8 cfetoolcheck.8 \ cfetoolinfo.8 cfetoolupdate.8 cfexecd.8 cfkey.8 \ cfrun.8 cfservd.8 cfshow.8 +post-patch: + @${REINPLACE_CMD} -e s,-pthread,${PTHREAD_CFLAGS},g \ + -e s,-lpthread,${PTHREAD_LIBS},g \ + -e s,lpthread,${PTHREAD_LIBS},g \ + ${WRKSRC}/configure + .include <bsd.port.mk> |