Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 2014 14:49:47 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367272 - head/devel/privman
Message-ID:  <201409041449.s84EnlM9064337@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409041449.s84EnlM9064337>