pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/imlib bl3ify



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4eec712cf0df
branches:  trunk
changeset: 466690:4eec712cf0df
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Jan 22 11:04:59 2004 +0000

description:
bl3ify

diffstat:

 graphics/imlib/Makefile      |  23 +++++++++++------------
 graphics/imlib/buildlink3.mk |  24 ++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 12 deletions(-)

diffs (85 lines):

diff -r dc29049a2b08 -r 4eec712cf0df graphics/imlib/Makefile
--- a/graphics/imlib/Makefile   Thu Jan 22 11:02:01 2004 +0000
+++ b/graphics/imlib/Makefile   Thu Jan 22 11:04:59 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.80 2004/01/03 18:49:43 reed Exp $
+# $NetBSD: Makefile,v 1.81 2004/01/22 11:04:59 jlam Exp $
 #
 
 DISTNAME=              imlib-1.9.14
@@ -10,6 +10,7 @@
 HOMEPAGE=              http://www.nl.rasterman.com/imlib.html
 COMMENT=               Image manipulation library for X11
 
+USE_BUILDLINK3=                yes
 USE_X11BASE=           yes
 USE_LIBTOOL=           yes
 LIBTOOL_OVERRIDE=      ${WRKSRC}/libtool
@@ -19,17 +20,15 @@
 USE_GMAKE=             yes
 UNLIMIT_RESOURCES=     datasize
 
-USE_BUILDLINK2=                yes
-USE_PKGINSTALL=                yes
-
 CPPFLAGS+=             -DENABLE_NLS
 CONFIGURE_ENV+=                ac_cv_path_CONVERT_PROG="${LOCALBASE}/bin/convert"
 CONFIGURE_ENV+=                X_LDFLAGS="${X_LDFLAGS}"
 CONFIGURE_ARGS+=       --sysconfdir="${PKG_SYSCONFDIR}"
 
 PKG_SYSCONFSUBDIR=     imlib
+EGDIR=                 ${PREFIX}/share/examples/imlib
 
-EGDIR=                 ${PREFIX}/share/examples/imlib
+USE_PKGINSTALL=                yes
 CONF_FILES=            ${EGDIR}/imrc ${PKG_SYSCONFDIR}/imrc
 CONF_FILES+=           ${EGDIR}/im_palette.pal \
                        ${PKG_SYSCONFDIR}/im_palette.pal
@@ -51,12 +50,12 @@
        ${LN} -fs ${PREFIX}/share/aclocal/imlib.m4 \
                ${LOCALBASE}/share/aclocal/imlib.m4
 
-.include "../../devel/gettext-lib/buildlink2.mk"
-.include "../../graphics/jpeg/buildlink2.mk"
-.include "../../graphics/libungif/buildlink2.mk"
-.include "../../graphics/netpbm/buildlink2.mk"
-.include "../../graphics/png/buildlink2.mk"
-.include "../../graphics/tiff/buildlink2.mk"
-.include "../../x11/gtk/buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/libungif/buildlink3.mk"
+.include "../../graphics/netpbm/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../x11/gtk/buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r dc29049a2b08 -r 4eec712cf0df graphics/imlib/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/imlib/buildlink3.mk      Thu Jan 22 11:04:59 2004 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/22 11:04:59 jlam Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+IMLIB_BUILDLINK3_MK:=  ${IMLIB_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    imlib
+.endif
+
+.if !empty(IMLIB_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+=           imlib
+BUILDLINK_DEPENDS.imlib?=      imlib>=1.9.14nb5
+BUILDLINK_PKGSRCDIR.imlib?=    ../../graphics/imlib
+
+.  include "../../devel/gettext-lib/buildlink3.mk"
+.  include "../../graphics/jpeg/buildlink3.mk"
+.  include "../../graphics/libungif/buildlink3.mk"
+.  include "../../graphics/netpbm/buildlink3.mk"
+.  include "../../graphics/png/buildlink3.mk"
+.  include "../../graphics/tiff/buildlink3.mk"
+.  include "../../x11/gtk/buildlink3.mk"
+.endif # IMLIB_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index