svn commit: r368948 - head/net/echoping

Tijl Coosemans tijl at FreeBSD.org
Mon Sep 22 14:48:02 UTC 2014


Author: tijl
Date: Mon Sep 22 14:48:01 2014
New Revision: 368948
URL: http://svnweb.freebsd.org/changeset/ports/368948
QAT: https://qat.redports.org/buildarchive/r368948/

Log:
  Port uses sqrt(3) so link with libm
  
  Reported by:	sbruno

Modified:
  head/net/echoping/Makefile

Modified: head/net/echoping/Makefile
==============================================================================
--- head/net/echoping/Makefile	Mon Sep 22 14:45:22 2014	(r368947)
+++ head/net/echoping/Makefile	Mon Sep 22 14:48:01 2014	(r368948)
@@ -43,10 +43,7 @@ PLIST_SUB+=	WITH_PGSQL=""
 PLIST_SUB+=	WITH_PGSQL="@comment "
 .endif
 
-.include <bsd.port.pre.mk>
+post-patch:
+	@${REINPLACE_CMD} '/^echoping_LDADD =/s/$$/ -lm/' ${WRKSRC}/Makefile.in
 
-.if ${ARCH} == "ia64" || ${ARCH} == "powerpc"
-BROKEN=		Does not link on ia64 or powerpc
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-head mailing list