summaryrefslogtreecommitdiff
path: root/graphics/mng
diff options
context:
space:
mode:
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"