summaryrefslogtreecommitdiff
path: root/graphics/jasper
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-02-03 01:16:40 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-02-03 01:16:40 +0000
commit316a2c1caa4648842df62f5a40474d7461d3e9f7 (patch)
tree6c4a62df88c214102694b0f18845758cf1c8b747 /graphics/jasper
parente4533ce762d2b072ecab7dfdb557dffca2933dfa (diff)
downloadpkgsrc-316a2c1caa4648842df62f5a40474d7461d3e9f7.tar.gz
libjasper.so was not built in FreeBSD, so disable them using PLIST_SUBST,
should fix the problems seen in the last bulk build.
Diffstat (limited to 'graphics/jasper')
-rw-r--r--graphics/jasper/Makefile10
-rw-r--r--graphics/jasper/PLIST4
2 files changed, 11 insertions, 3 deletions
diff --git a/graphics/jasper/Makefile b/graphics/jasper/Makefile
index ef14e9d46c9..2ed18cf28fd 100644
--- a/graphics/jasper/Makefile
+++ b/graphics/jasper/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/10/08 02:21:32 danw Exp $
+# $NetBSD: Makefile,v 1.10 2004/02/03 01:16:40 xtraeme Exp $
#
DISTNAME= jasper-1.600.0
@@ -23,5 +23,13 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/jasper
.endfor
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "FreeBSD"
+PLIST_SUBST+= AVAILABLE="@comment "
+.else
+PLIST_SUBST+= AVAILABLE=
+.endif
+
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/jasper/PLIST b/graphics/jasper/PLIST
index 3362df28cca..8e532915216 100644
--- a/graphics/jasper/PLIST
+++ b/graphics/jasper/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2002/11/12 19:39:15 dillo Exp $
+@comment $NetBSD: PLIST,v 1.4 2004/02/03 01:16:40 xtraeme Exp $
bin/imgcmp
bin/imginfo
bin/jasper
@@ -16,7 +16,7 @@ include/jasper/jas_tvp.h
include/jasper/jas_types.h
include/jasper/jas_version.h
include/jasper/jasper.h
-lib/libjasper-1.600.so
+${AVAILABLE}lib/libjasper-1.600.so
lib/libjasper-1.600.so.0
lib/libjasper-1.600.so.0.0
lib/libjasper.a