summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2006-12-02 22:32:59 +0000
committerjschauma <jschauma@pkgsrc.org>2006-12-02 22:32:59 +0000
commit721b60b433c2f8906e5064206e90937b196829ca (patch)
tree97923b6df098fa627f577ea81af4285038c9d84a /net
parent114ef6550554f18c0cd488aa39d20668e70e4f54 (diff)
downloadpkgsrc-721b60b433c2f8906e5064206e90937b196829ca.tar.gz
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@
Diffstat (limited to 'net')
-rw-r--r--net/tor/Makefile7
1 files changed, 2 insertions, 5 deletions
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' \