diff options
author | jlam <jlam> | 2002-08-25 18:38:05 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-08-25 18:38:05 +0000 |
commit | b28e357f6ee52e603c887fc42483ea19558d4048 (patch) | |
tree | d2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /x11/fltk | |
parent | 4d330b06ae2802c2520909a77c9b2b5998f05140 (diff) | |
download | pkgsrc-b28e357f6ee52e603c887fc42483ea19558d4048.tar.gz |
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk. This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
Diffstat (limited to 'x11/fltk')
-rw-r--r-- | x11/fltk/Makefile | 9 | ||||
-rw-r--r-- | x11/fltk/buildlink2.mk | 21 |
2 files changed, 25 insertions, 5 deletions
diff --git a/x11/fltk/Makefile b/x11/fltk/Makefile index 03202b2d027..f8e0d9be09c 100644 --- a/x11/fltk/Makefile +++ b/x11/fltk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2001/10/24 22:11:12 jlam Exp $ +# $NetBSD: Makefile,v 1.24 2002/08/25 18:40:29 jlam Exp $ # DISTNAME= ${PKGNAME}-source @@ -21,15 +21,14 @@ COMMENT= Fast Light Tool Kit for graphical user interfaces USE_X11BASE= # defined USE_GMAKE= # defined USE_LIBTOOL= # defined -USE_BUILDLINK_ONLY= # defined +USE_BUILDLINK2= # defined GNU_CONFIGURE= # defined -CONFIGURE_ARGS+= --enable-libtool=${LIBTOOL} +CONFIGURE_ARGS+= --enable-libtool=${PKGLIBTOOL} test: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} test -.include "../../graphics/Mesa/buildlink.mk" -.include "../../mk/x11.buildlink.mk" +.include "../../graphics/Mesa/buildlink2.mk" .include "../../mk/bsd.pkg.mk" diff --git a/x11/fltk/buildlink2.mk b/x11/fltk/buildlink2.mk new file mode 100644 index 00000000000..16ede3b1e94 --- /dev/null +++ b/x11/fltk/buildlink2.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:40:29 jlam Exp $ + +.if !defined(FLTK_BUILDLINK2_MK) +FLTK_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= fltk +BUILDLINK_DEPENDS.fltk?= fltk>=1.0.9 +BUILDLINK_PKGSRCDIR.fltk?= ../../x11/fltk + +EVAL_PREFIX+= BUILDLINK_PREFIX.fltk=fltk +BUILDLINK_PREFIX.fltk_DEFAULT= ${X11PREFIX} +BUILDLINK_FILES.fltk= include/FL/* +BUILDLINK_FILES.fltk+= lib/libfltk.* + +.include "../../graphics/Mesa/buildlink2.mk" + +BUILDLINK_TARGETS+= fltk-buildlink + +fltk-buildlink: _BUILDLINK_USE + +.endif # FLTK_BUILDLINK2_MK |