summaryrefslogtreecommitdiff
path: root/graphics/mng
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-22 16:43:27 +0000
committerjlam <jlam@pkgsrc.org>2001-06-22 16:43:27 +0000
commita0079390c9a1f8ebef15c81319d7a6348035c143 (patch)
tree01e893c858f565f2b84b8a29bc68b464df5208eb /graphics/mng
parenta6abca172990cc272e2ca397d928c7ccbe7cbd55 (diff)
downloadpkgsrc-a0079390c9a1f8ebef15c81319d7a6348035c143.tar.gz
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. Add
missing dependency on zlib.
Diffstat (limited to 'graphics/mng')
-rw-r--r--graphics/mng/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/graphics/mng/Makefile b/graphics/mng/Makefile
index e6dcd4c0f76..fe03deba9f5 100644
--- a/graphics/mng/Makefile
+++ b/graphics/mng/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/03/07 08:34:52 skrll Exp $
+# $NetBSD: Makefile,v 1.2 2001/06/22 16:43:27 jlam Exp $
DISTNAME= libmng-1.0.0
PKGNAME= ${DISTNAME:S/lib//}
@@ -11,14 +11,15 @@ MAINTAINER= packages@netbsd.com
HOMEPAGE= http://www.libmng.com/
COMMENT= Multiple-image Network Graphics (MNG) reference library
-DEPENDS+= jpeg-6b:../../graphics/jpeg
-DEPENDS+= lcms>=1.06:../../graphics/lcms
-
+USE_BUILDLINK_ONLY= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-CONFIGURE_ARGS= --with-jpeg=${PREFIX} \
- --with-lcms=${PREFIX}
+CONFIGURE_ARGS+= --with-jpeg=${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --with-lcms=${BUILDLINK_DIR}
+.include "../../devel/zlib/buildlink.mk"
+.include "../../graphics/jpeg/buildlink.mk"
+.include "../../graphics/lcms/buildlink.mk"
.include "../../mk/bsd.pkg.mk"