aboutsummaryrefslogtreecommitdiff
path: root/www/mod_dnssd/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2009-03-01 19:04:16 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2009-03-01 19:04:16 +0000
commit3d9e64c5bc2b9b73d0ae5a94a3025a6c1b12f8de (patch)
tree8c8b2992bf702c559dcfc9529f1f31fdb56dcfae /www/mod_dnssd/Makefile
parent80af950d5c0dd7cbfc93e1b2d8d9a1220dc8f774 (diff)
downloadports-3d9e64c5bc2b9b73d0ae5a94a3025a6c1b12f8de.tar.gz
ports-3d9e64c5bc2b9b73d0ae5a94a3025a6c1b12f8de.zip
Apr and apache22 conflict by default, so override the pkg-config lookup
for apr-1, and use apr-1-config instead.
Notes
Notes: svn path=/head/; revision=229289
Diffstat (limited to 'www/mod_dnssd/Makefile')
-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: