summaryrefslogtreecommitdiff
path: root/graphics/jasper/Makefile
diff options
context:
space:
mode:
authorjschauma <jschauma>2006-12-02 22:32:59 +0000
committerjschauma <jschauma>2006-12-02 22:32:59 +0000
commitc224f2013c6dd86f664309dac9b78b97cf953a2b (patch)
tree97923b6df098fa627f577ea81af4285038c9d84a /graphics/jasper/Makefile
parent466b82ff731e2238dc1f95e4cda2b4689c2373a8 (diff)
downloadpkgsrc-c224f2013c6dd86f664309dac9b78b97cf953a2b.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/Makefile')
-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