diff options
author | lkoeller <lkoeller@FreeBSD.org> | 2003-10-23 02:59:26 +0800 |
---|---|---|
committer | lkoeller <lkoeller@FreeBSD.org> | 2003-10-23 02:59:26 +0800 |
commit | bb734e096ffafa572cc8985f0d34be188eed2e46 (patch) | |
tree | f7cde02b1a748d6ffef32355765d73dd4e33a7c3 /sysutils/bacula-server | |
parent | 243046ef00164254a800f99033194679414de32d (diff) | |
download | freebsd-ports-gnome-bb734e096ffafa572cc8985f0d34be188eed2e46.tar.gz freebsd-ports-gnome-bb734e096ffafa572cc8985f0d34be188eed2e46.tar.zst freebsd-ports-gnome-bb734e096ffafa572cc8985f0d34be188eed2e46.zip |
o) Respect CFLAGS and Co (Thanks to "Dan Langille" <dan@langille.org>)
Submitted by: dan@langille.org
Diffstat (limited to 'sysutils/bacula-server')
-rw-r--r-- | sysutils/bacula-server/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile index ba7b2c95f33f..bb491962710b 100644 --- a/sysutils/bacula-server/Makefile +++ b/sysutils/bacula-server/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 |