diff options
author | pav <pav@FreeBSD.org> | 2009-01-08 20:38:48 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2009-01-08 20:38:48 +0800 |
commit | f70051667750b3af4584a511ab0491c2c2e8180f (patch) | |
tree | fcebc04a904149599c057094ec4a649718956c92 /dns/dnsmasq | |
parent | f249548ae945ede318999dfca84aca771c4068f2 (diff) | |
download | freebsd-ports-gnome-f70051667750b3af4584a511ab0491c2c2e8180f.tar.gz freebsd-ports-gnome-f70051667750b3af4584a511ab0491c2c2e8180f.tar.zst freebsd-ports-gnome-f70051667750b3af4584a511ab0491c2c2e8180f.zip |
- Fix link with dbus on FreeBSD 6.x
PR: ports/127848
Reported by: Matthias Andree <matthias.andree@gmx.de>
Approved by: maintainer timeout (farrokhi; 3 months)
Diffstat (limited to 'dns/dnsmasq')
-rw-r--r-- | dns/dnsmasq/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dns/dnsmasq/Makefile b/dns/dnsmasq/Makefile index 34f127072415..c48f64533c78 100644 --- a/dns/dnsmasq/Makefile +++ b/dns/dnsmasq/Makefile @@ -43,6 +43,11 @@ CFLAGS+= -DHAVE_DBUS USE_RC_SUBR= dnsmasq.sh +post-patch: +.if ${OSVERSION} < 700000 + @${REINPLACE_CMD} -e 's|DBUS_LIBS="|DBUS_LIBS="${PTHREAD_LIBS} |' ${WRKSRC}/Makefile +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/dnsmasq ${PREFIX}/sbin ${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example ${PREFIX}/etc |