summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/jasper/Makefile5
-rw-r--r--graphics/jhead/Makefile8
2 files changed, 8 insertions, 5 deletions
diff --git a/graphics/jasper/Makefile b/graphics/jasper/Makefile
index c9d227619a9..e0b5fc4faf0 100644
--- a/graphics/jasper/Makefile
+++ b/graphics/jasper/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2002/04/08 12:25:54 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2002/10/09 18:42:55 wiz Exp $
#
DISTNAME= jasper-1.500.4
@@ -11,6 +11,7 @@ HOMEPAGE= http://www.ece.ubc.ca/~mdadams/jasper/
COMMENT= software-based reference implementation of the JPEG-2000 codec
GNU_CONFIGURE= YES
+USE_BUILDLINK2= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
@@ -20,5 +21,5 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/jasper
.endfor
-.include "../../graphics/jpeg/buildlink.mk"
+.include "../../graphics/jpeg/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/jhead/Makefile b/graphics/jhead/Makefile
index 6385ffd2745..616cf77624d 100644
--- a/graphics/jhead/Makefile
+++ b/graphics/jhead/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2002/08/07 12:47:51 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2002/10/09 18:45:16 wiz Exp $
#
DISTNAME= jhead-1.8
@@ -9,7 +9,9 @@ MAINTAINER= veego@netbsd.org
HOMEPAGE= http://www.sentex.net/~mwandel/jhead/
COMMENT= Extract EXIF header from JPEG image
-LIBS= -lm -L${BUILDLINK_DIR}/lib -Wl,-R${LOCALBASE}/lib -ljpeg
+LIBS= -lm -L${BUILDLINK_PREFIX.jpeg}/lib -Wl,-R${BUILDLINK_PREFIX.jpeg}/lib -ljpeg
+
+USE_BUILDLINK2= yes
do-build:
cd ${WRKSRC} && \
@@ -20,5 +22,5 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/jhead ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/usage.html ${PREFIX}/share/doc/html/jhead
-.include "../../graphics/jpeg/buildlink.mk"
+.include "../../graphics/jpeg/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"