summaryrefslogtreecommitdiff
path: root/net/tor
diff options
context:
space:
mode:
authorjschauma <jschauma>2006-12-02 22:32:59 +0000
committerjschauma <jschauma>2006-12-02 22:32:59 +0000
commit6538aefdf7e668723a29797158b522ad24f1c6db (patch)
tree97923b6df098fa627f577ea81af4285038c9d84a /net/tor
parent3398d954c0156c67233b4427d1a6ee2839a239ec (diff)
downloadpkgsrc-6538aefdf7e668723a29797158b522ad24f1c6db.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/tor')
-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' \