diff options
author | lkoeller <lkoeller@FreeBSD.org> | 2003-10-22 18:59:26 +0000 |
---|---|---|
committer | lkoeller <lkoeller@FreeBSD.org> | 2003-10-22 18:59:26 +0000 |
commit | bb734e096ffafa572cc8985f0d34be188eed2e46 (patch) | |
tree | f7cde02b1a748d6ffef32355765d73dd4e33a7c3 /sysutils/bacula | |
parent | 243046ef00164254a800f99033194679414de32d (diff) | |
download | FreeBSD-ports-bb734e096ffafa572cc8985f0d34be188eed2e46.zip FreeBSD-ports-bb734e096ffafa572cc8985f0d34be188eed2e46.tar.gz |
o) Respect CFLAGS and Co (Thanks to "Dan Langille" <dan@langille.org>)
Submitted by: dan@langille.org
Diffstat (limited to 'sysutils/bacula')
-rw-r--r-- | sysutils/bacula/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/bacula/Makefile b/sysutils/bacula/Makefile index ba7b2c9..bb49196 100644 --- a/sysutils/bacula/Makefile +++ b/sysutils/bacula/Makefile @@ -7,7 +7,7 @@ PORTNAME= bacula PORTVERSION= 1.32b -#PORTREVISION= 1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= bacula @@ -15,10 +15,13 @@ MASTER_SITE_SUBDIR= bacula MAINTAINER= Lars.Koeller@Uni-Bielefeld.DE COMMENT= The network backup solution +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-tcp-wrappers=/usr/lib \ --enable-smartalloc \ --with-working-dir=/var/db/bacula +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" # Default is full build with sqlite .if defined(WITH_CLIENT_ONLY) @@ -61,6 +64,9 @@ pre-everything:: @${ECHO_MSG} "===> Building file daemon only." .endif +post-patch: + @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_CFLAGS}|g' ${WRKSRC}/configure + post-install: .if defined(WITH_CLIENT_ONLY) # don't know how to make it better |