aboutsummaryrefslogtreecommitdiffstats
path: root/devel/privman
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-09-04 22:49:47 +0800
committertijl <tijl@FreeBSD.org>2014-09-04 22:49:47 +0800
commitd8c4fab16d29c20c94e63b966abc1e2db5f15120 (patch)
tree6cd3386ffbbccae271b87e4cd950fe41f295286e /devel/privman
parent41323737fc887b087bb8b978811b15ce6aac467c (diff)
downloadfreebsd-ports-gnome-d8c4fab16d29c20c94e63b966abc1e2db5f15120.tar.gz
freebsd-ports-gnome-d8c4fab16d29c20c94e63b966abc1e2db5f15120.tar.zst
freebsd-ports-gnome-d8c4fab16d29c20c94e63b966abc1e2db5f15120.zip
- Add missing -lm
- Regenerate config.h.in as well - Force updating of automake build scripts to fix some warnings about it Reported by: sbruno
Diffstat (limited to 'devel/privman')
-rw-r--r--devel/privman/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/privman/Makefile b/devel/privman/Makefile
index 2e069e6810b4..98088fe36943 100644
--- a/devel/privman/Makefile
+++ b/devel/privman/Makefile
@@ -13,8 +13,8 @@ COMMENT= Library that makes it easy for programs to use privilege separation
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USE_AUTOTOOLS= libtoolize aclocal autoconf automake
-AUTOMAKE_ARGS= --add-missing
+USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake
+AUTOMAKE_ARGS= -a -c -f
USES= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
@@ -31,5 +31,7 @@ post-patch:
s|-lstdc++||' ${WRKSRC}/src/Makefile.am
@${REINPLACE_CMD} -e \
'/^CFLAGS/s|-O2 -g|@CFLAGS@|' ${WRKSRC}/tests/Makefile.am
+# microb calls sqrt which requires -lm on some architectures
+ @${ECHO_CMD} 'microb_LDADD = $$(LDADD) -lm' >> ${WRKSRC}/tests/Makefile.am
.include <bsd.port.mk>