svn commit: r367272 - head/devel/privman

Tijl Coosemans tijl at FreeBSD.org
Thu Sep 4 14:49:47 UTC 2014


Author: tijl
Date: Thu Sep  4 14:49:47 2014
New Revision: 367272
URL: http://svnweb.freebsd.org/changeset/ports/367272
QAT: https://qat.redports.org/buildarchive/r367272/

Log:
  - Add missing -lm
  - Regenerate config.h.in as well
  - Force updating of automake build scripts to fix some warnings about it
  
  Reported by:	sbruno

Modified:
  head/devel/privman/Makefile

Modified: head/devel/privman/Makefile
==============================================================================
--- head/devel/privman/Makefile	Thu Sep  4 14:35:15 2014	(r367271)
+++ head/devel/privman/Makefile	Thu Sep  4 14:49:47 2014	(r367272)
@@ -13,8 +13,8 @@ COMMENT=	Library that makes it easy for 
 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>


More information about the svn-ports-head mailing list