svn commit: r319221 - head/net-mgmt/arts++

Baptiste Daroussin bapt at FreeBSD.org
Mon May 27 12:28:18 UTC 2013


Author: bapt
Date: Mon May 27 12:28:17 2013
New Revision: 319221
URL: http://svnweb.freebsd.org/changeset/ports/319221

Log:
  Fix build with clang

Modified:
  head/net-mgmt/arts++/Makefile

Modified: head/net-mgmt/arts++/Makefile
==============================================================================
--- head/net-mgmt/arts++/Makefile	Mon May 27 12:18:23 2013	(r319220)
+++ head/net-mgmt/arts++/Makefile	Mon May 27 12:28:17 2013	(r319221)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	arts++
-# Date created:		Di   7 Nov 2000 19:48:50 CET
-# Whom:			Andreas Klemm <andreas at klemm.gtn.com>
-#
+# Created by: Andreas Klemm <andreas at klemm.gtn.com>
 # $FreeBSD$
-#
 
 PORTNAME=	arts++
 PORTVERSION=	1.1.a13
@@ -24,14 +20,17 @@ MANL=		artsportagg.l artsports.l artspro
 		artsasagg.l artsportms.l artsportmagg.l artsintfms.l \
 		artsintfmagg.l artsnexthops.l artsnexthopagg.l artstos.l
 
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/ltconfig
+	@${REINPLACE_CMD} -e 's/make_pair/std::make_pair/' ${WRKSRC}/classes/include/Ipv4PrefixPatricia.hh.in
 
 post-configure:
 	@${REINPLACE_CMD} -E -e "s,( gcc\*),\1 | g++\*,g" ${WRKSRC}/libtool
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}/html
 .for f in ChangeLog INSTALL WishList
 	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}


More information about the svn-ports-all mailing list