summaryrefslogtreecommitdiff
path: root/graphics/jasper
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 /graphics/jasper
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 'graphics/jasper')
-rw-r--r--graphics/jasper/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/graphics/jasper/Makefile b/graphics/jasper/Makefile
index eee771d4bef..7cfbe2436b5 100644
--- a/graphics/jasper/Makefile
+++ b/graphics/jasper/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2006/02/05 23:09:34 joerg Exp $
+# $NetBSD: Makefile,v 1.21 2006/12/02 22:32:59 jschauma Exp $
#
DISTNAME= jasper-1.701.0
@@ -14,15 +14,10 @@ COMMENT= Software-based reference implementation of the JPEG-2000 codec
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= YES
+USE_LANGUAGES+= c99
USE_LIBTOOL= YES
CONFIGURE_ARGS+= --enable-shared --without-x --disable-opengl
-.include "../../mk/compiler.mk"
-
-.if !empty(PKGSRC_COMPILER:Mmipspro*)
-CFLAGS+= -c99
-.endif
-
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jasper
.for doc in jasper jpeg2000