diff options
Diffstat (limited to 'graphics/jpeg')
-rw-r--r-- | graphics/jpeg/Makefile | 4 | ||||
-rw-r--r-- | graphics/jpeg/buildlink2.mk | 22 |
2 files changed, 24 insertions, 2 deletions
diff --git a/graphics/jpeg/Makefile b/graphics/jpeg/Makefile index e033184ab5e..c3345a0a9bd 100644 --- a/graphics/jpeg/Makefile +++ b/graphics/jpeg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2001/06/19 04:02:57 jlam Exp $ +# $NetBSD: Makefile,v 1.19 2002/08/25 18:39:13 jlam Exp $ # DISTNAME= jpegsrc.v6b @@ -14,7 +14,7 @@ COMMENT= IJG's jpeg compression utilities USE_LIBTOOL= yes LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig -USE_BUILDLINK_ONLY= yes +USE_BUILDLINK2= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-shared CONFIGURE_ARGS+= --enable-static diff --git a/graphics/jpeg/buildlink2.mk b/graphics/jpeg/buildlink2.mk new file mode 100644 index 00000000000..b6924822524 --- /dev/null +++ b/graphics/jpeg/buildlink2.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:39:13 jlam Exp $ + +.if !defined(JPEG_BUILDLINK2_MK) +JPEG_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= jpeg +BUILDLINK_DEPENDS.jpeg?= jpeg-6b +BUILDLINK_PKGSRCDIR.jpeg?= ../../graphics/jpeg + +EVAL_PREFIX+= BUILDLINK_PREFIX.jpeg=jpeg +BUILDLINK_PREFIX.jpeg_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.jpeg= include/jconfig.h +BUILDLINK_FILES.jpeg+= include/jpeglib.h +BUILDLINK_FILES.jpeg+= include/jmorecfg.h +BUILDLINK_FILES.jpeg+= include/jerror.h +BUILDLINK_FILES.jpeg+= lib/libjpeg.* + +BUILDLINK_TARGETS+= jpeg-buildlink + +jpeg-buildlink: _BUILDLINK_USE + +.endif # JPEG_BUILDLINK2_MK |