summaryrefslogtreecommitdiff
path: root/graphics/SDL_image/Makefile
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/Makefile
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/Makefile')
-rw-r--r--graphics/SDL_image/Makefile10
1 files changed, 9 insertions, 1 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"