summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-09-15 21:30:35 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-09-15 21:30:35 +0000
commit96b148953c15dcfc4e78f1dc174c9ded629384ab (patch)
tree53221fba7b12ac2311d014025068e5c331c39bb1
parent- Fix build on sparc64 (diff)
- Explicitely teach autotools to recognize libnet LDFLAGS
PR: 127089 Submitted by: Oleg Gawriloff <barzog@telecom.by> Approved by: Scott Kleihege <scott-ports@tummy.com> (maintainer) Approved by: portmgr (pav)
Notes
Notes: svn path=/head/; revision=220396
-rw-r--r--sysutils/heartbeat/Makefile3
-rw-r--r--sysutils/heartbeat2/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/heartbeat/Makefile b/sysutils/heartbeat/Makefile
index 007035a76217..46d184fbb40d 100644
--- a/sysutils/heartbeat/Makefile
+++ b/sysutils/heartbeat/Makefile
@@ -29,7 +29,8 @@ CONFIGURE_ARGS+= --disable-fatal-warnings \
--with-initdir=${PREFIX}/etc/rc.d \
--localstatedir=/var \
--with-group-id=275 --with-ccmuser-id=275
-CONFIGURE_ENV= CPPFLAGS="`${LIBNET_CONFIG} --cflags`"
+CONFIGURE_ENV= CPPFLAGS="`${LIBNET_CONFIG} --cflags`" \
+ LDFLAGS="`${LIBNET_CONFIG} --libs`"
SUB_FILES= pkg-install
PKGDEINSTALL= ${PKGINSTALL}
diff --git a/sysutils/heartbeat2/Makefile b/sysutils/heartbeat2/Makefile
index 007035a76217..46d184fbb40d 100644
--- a/sysutils/heartbeat2/Makefile
+++ b/sysutils/heartbeat2/Makefile
@@ -29,7 +29,8 @@ CONFIGURE_ARGS+= --disable-fatal-warnings \
--with-initdir=${PREFIX}/etc/rc.d \
--localstatedir=/var \
--with-group-id=275 --with-ccmuser-id=275
-CONFIGURE_ENV= CPPFLAGS="`${LIBNET_CONFIG} --cflags`"
+CONFIGURE_ENV= CPPFLAGS="`${LIBNET_CONFIG} --cflags`" \
+ LDFLAGS="`${LIBNET_CONFIG} --libs`"
SUB_FILES= pkg-install
PKGDEINSTALL= ${PKGINSTALL}