From 6538aefdf7e668723a29797158b522ad24f1c6db Mon Sep 17 00:00:00 2001 From: jschauma Date: Sat, 2 Dec 2006 22:32:59 +0000 Subject: Instead of setting compiler flags in each package if it uses C99, allow USE_LANGUAGES+=c99 and let gcc and mipspro do the right thing. May need to be reviewed/added for other compilers. ok rillig@ --- net/tor/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'net/tor') diff --git a/net/tor/Makefile b/net/tor/Makefile index aed3b72ce11..bf9fedc034a 100644 --- a/net/tor/Makefile +++ b/net/tor/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.36 2006/11/08 19:41:10 tv Exp $ +# $NetBSD: Makefile,v 1.37 2006/12/02 22:32:59 jschauma Exp $ # DISTNAME= tor-0.1.1.25 @@ -11,6 +11,7 @@ COMMENT= Anonymizing overlay network for TCP .include "../../mk/bsd.prefs.mk" +USE_LANGUAGES+= c99 USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes @@ -37,10 +38,6 @@ FILES_SUBST+= TOR_USER=${TOR_USER:Q} TOR_GROUP=${TOR_GROUP:Q} CHECK_PORTABILITY_SKIP+=contrib/* -.if !empty(PKGSRC_COMPILER:Mmipspro) -CFLAGS+= -c99 -.endif - post-patch: ${SED} -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g' \ -e 's|@PREFIX@|${PREFIX}|g' \ -- cgit v1.2.3