summaryrefslogtreecommitdiff
path: root/graphics/SDL_image/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-02-03 01:27:37 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-02-03 01:27:37 +0000
commitc11eabc5116085de0257c8d2f7f84fc0f2453183 (patch)
treefa18c7fd4898aa68cc8cdcc2192f29a8e9ff5b46 /graphics/SDL_image/Makefile
parent316a2c1caa4648842df62f5a40474d7461d3e9f7 (diff)
downloadpkgsrc-c11eabc5116085de0257c8d2f7f84fc0f2453183.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"