aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_dnssd
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-03-02 03:04:16 +0800
committermarcus <marcus@FreeBSD.org>2009-03-02 03:04:16 +0800
commitc20eb259f59031c3c73eaa235a54ec739a814de7 (patch)
treed75c578dce7b520da7203ae2f0cdf2a115ce594e /www/mod_dnssd
parent9f8efeab8ec8bcad0b621d12f96f06ce6c802776 (diff)
downloadfreebsd-ports-gnome-c20eb259f59031c3c73eaa235a54ec739a814de7.tar.gz
freebsd-ports-gnome-c20eb259f59031c3c73eaa235a54ec739a814de7.tar.zst
freebsd-ports-gnome-c20eb259f59031c3c73eaa235a54ec739a814de7.zip
Apr and apache22 conflict by default, so override the pkg-config lookup
for apr-1, and use apr-1-config instead.
Diffstat (limited to 'www/mod_dnssd')
-rw-r--r--www/mod_dnssd/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/www/mod_dnssd/Makefile b/www/mod_dnssd/Makefile
index 4c4a6e5d95d9..4ae8cbf0cfeb 100644
--- a/www/mod_dnssd/Makefile
+++ b/www/mod_dnssd/Makefile
@@ -7,21 +7,22 @@
PORTNAME= mod_dnssd
PORTVERSION= 0.6
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= http://0pointer.de/lennart/projects/mod_dnssd/
MAINTAINER= gnome@FreeBSD.org
COMMENT= An Apache module that provides DNS-SD capabilities
-LIB_DEPENDS= avahi-client.3:${PORTSDIR}/net/avahi-app \
- apr-1.3:${PORTSDIR}/devel/apr
+LIB_DEPENDS= avahi-client.3:${PORTSDIR}/net/avahi-app
USE_GMAKE= yes
USE_APACHE= 2.2+
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ APR_CFLAGS="`${LOCALBASE}/bin/apr-1-config --cflags --cppflags --includes`" \
+ APR_LIBS="`${LOCALBASE}/bin/apr-1-config --ldflags`"
CONFIGURE_ARGS= --disable-lynx
post-install: