summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-11-28 10:56:37 +0000
committertron <tron@pkgsrc.org>2002-11-28 10:56:37 +0000
commit3bdaa3a74ac5f993f3f4acd50466ad09e3d1bbdb (patch)
treeddec0ff1fa4a642fbf794e67c836db7d72353786
parent483e2e61c8eed44e1d3076cd63b89b4f77d0c057 (diff)
downloadpkgsrc-3bdaa3a74ac5f993f3f4acd50466ad09e3d1bbdb.tar.gz
Buildlinkify this package to stop it from using the packaged version of
"libintl" even if it is not necessary. Bump package revision.
-rw-r--r--graphics/fly/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/graphics/fly/Makefile b/graphics/fly/Makefile
index d15ad79a288..20b140d3384 100644
--- a/graphics/fly/Makefile
+++ b/graphics/fly/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2002/03/14 23:30:00 tron Exp $
+# $NetBSD: Makefile,v 1.18 2002/11/28 10:56:37 tron Exp $
DISTNAME= fly-1.6.5
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= graphics www
MASTER_SITES= ftp://www.unimelb.edu.au/pub/www/tools/unix/fly/
@@ -10,12 +10,9 @@ HOMEPAGE= http://www.unimelb.edu.au/fly/fly.html
COMMENT= command-file interface for creating and modifying PNG images
BUILD_DEPENDS+= gif2png>=2.4.2:../../graphics/gif2png
-DEPENDS+= gd>=1.8.4nb1:../../graphics/gd
-EVAL_PREFIX+= XPMDIR=xpm
-USE_X11= yes # (perhaps) -lXpm
-CPPFLAGS+= -I${XPMDIR}/include -I${XPMDIR}/include/X11 # Xpm.h
-CPPFLAGS+= -I${LOCALBASE}/include # gd.h
+USE_BUILDLINK2= YES
+USE_X11= YES
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fly ${PREFIX}/bin
@@ -26,4 +23,6 @@ do-install:
${RM} -f ${WRKSRC}/examples/*.orig
cd ${WRKSRC}/examples; ${INSTALL_DATA} * ${PREFIX}/share/examples/fly
+.include "../../graphics/gd/buildlink2.mk"
+.include "../../graphics/xpm/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"