summaryrefslogtreecommitdiff
path: root/graphics/SDL_image
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-02-03 01:27:37 +0000
committerxtraeme <xtraeme>2004-02-03 01:27:37 +0000
commitd951eb1f2f1cae3c7fef9a2bc567434ef17dc380 (patch)
treefa18c7fd4898aa68cc8cdcc2192f29a8e9ff5b46 /graphics/SDL_image
parentfdb85892488c872f358547a8d231b43df3ce712f (diff)
downloadpkgsrc-d951eb1f2f1cae3c7fef9a2bc567434ef17dc380.tar.gz
lib/libSDL_image-1.2.so was not built in FreeBSD, so use PLIST_SUBST
for now (should be this fixed with libtool 1.5.x?)
Diffstat (limited to 'graphics/SDL_image')
-rw-r--r--graphics/SDL_image/Makefile10
-rw-r--r--graphics/SDL_image/PLIST4
2 files changed, 11 insertions, 3 deletions
diff --git a/graphics/SDL_image/Makefile b/graphics/SDL_image/Makefile
index 7df7a031005..a047c2ecc9c 100644
--- a/graphics/SDL_image/Makefile
+++ b/graphics/SDL_image/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/01/05 22:44:04 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2004/02/03 01:27:37 xtraeme Exp $
#
DISTNAME= SDL_image-1.2.3
@@ -27,6 +27,14 @@ post-install:
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/showimage \
${PREFIX}/bin
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "FreeBSD"
+PLIST_SUBST+= AVAILABLE="@comment "
+.else
+PLIST_SUBST+= AVAILABLE=
+.endif
+
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
diff --git a/graphics/SDL_image/PLIST b/graphics/SDL_image/PLIST
index e7a7356597e..e716b0c60ee 100644
--- a/graphics/SDL_image/PLIST
+++ b/graphics/SDL_image/PLIST
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.2 2003/09/09 13:36:56 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2004/02/03 01:27:37 xtraeme Exp $
bin/showimage
include/SDL/SDL_image.h
-lib/libSDL_image-1.2.so
+${AVAILABLE}lib/libSDL_image-1.2.so
lib/libSDL_image-1.2.so.1
lib/libSDL_image-1.2.so.1.2
lib/libSDL_image.a