From e4279dc3fdb5bbbda34dd0827084cda82169eb5d Mon Sep 17 00:00:00 2001 From: bapt Date: Mon, 27 May 2013 12:28:17 +0000 Subject: Fix build with clang --- net-mgmt/arts++/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'net-mgmt') diff --git a/net-mgmt/arts++/Makefile b/net-mgmt/arts++/Makefile index 176f7500b80d..4324c987ead6 100644 --- a/net-mgmt/arts++/Makefile +++ b/net-mgmt/arts++/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: arts++ -# Date created: Di 7 Nov 2000 19:48:50 CET -# Whom: Andreas Klemm -# +# Created by: Andreas Klemm # $FreeBSD$ -# PORTNAME= arts++ PORTVERSION= 1.1.a13 @@ -24,14 +20,17 @@ MANL= artsportagg.l artsports.l artsprotos.l artsnets.l artsdump.l \ artsasagg.l artsportms.l artsportmagg.l artsintfms.l \ artsintfmagg.l artsnexthops.l artsnexthopagg.l artstos.l +.include + 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} -- cgit