pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/gnome-objc bl3ify and use new Objective-C suppor...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4081cb8fc67e
branches:  trunk
changeset: 470921:4081cb8fc67e
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Mar 12 22:51:24 2004 +0000

description:
bl3ify and use new Objective-C support in gcc.mk.

diffstat:

 devel/gnome-objc/Makefile      |  22 +++++++++-------------
 devel/gnome-objc/buildlink3.mk |  21 +++++++++++++++++++++
 2 files changed, 30 insertions(+), 13 deletions(-)

diffs (64 lines):

diff -r 8cffd6970b31 -r 4081cb8fc67e devel/gnome-objc/Makefile
--- a/devel/gnome-objc/Makefile Fri Mar 12 22:38:18 2004 +0000
+++ b/devel/gnome-objc/Makefile Fri Mar 12 22:51:24 2004 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2004/02/01 01:43:28 jlam Exp $
-#
+# $NetBSD: Makefile,v 1.18 2004/03/12 22:51:24 jlam Exp $
 
 DISTNAME=      gnome-objc-1.0.40
 PKGREVISION=   4
@@ -10,20 +9,17 @@
 HOMEPAGE=      http://www.gnome.org/
 COMMENT=       Objective C API for gnome and gtk
 
-USE_BUILDLINK2=                YES
-USE_PKGLOCALEDIR=      YES
-USE_X11=               YES
+USE_BUILDLINK3=                yes
+USE_LANGUAGES=         c objc
+USE_PKGLOCALEDIR=      yes
+USE_X11=               yes
 PTHREAD_OPTS+=         require
 
-GNU_CONFIGURE=         YES
-USE_PKGLOCALEDIR=      YES
-CONFIGURE_ENV+=                OBJC="${CC}"
-
-USE_LIBTOOL=           YES
-LTCONFIG_OVERRIDE=     ${WRKSRC}/ltconfig
+USE_LIBTOOL=           yes
+GNU_CONFIGURE=         yes
 
 GCC_REQD+=             3.0
 
-.include "../../x11/gnome-libs/buildlink2.mk"
-.include "../../mk/pthread.buildlink2.mk"
+.include "../../x11/gnome-libs/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 8cffd6970b31 -r 4081cb8fc67e devel/gnome-objc/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gnome-objc/buildlink3.mk    Fri Mar 12 22:51:24 2004 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/12 22:51:25 jlam Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+GNOME_OBJC_BUILDLINK3_MK:=     ${GNOME_OBJC_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    gnome-objc
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Ngnome-objc}
+BUILDLINK_PACKAGES+=   gnome-objc
+
+.if !empty(GNOME_OBJC_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.gnome-objc+=         gnome-objc>=1.0.40nb4
+BUILDLINK_PKGSRCDIR.gnome-objc?=       ../../devel/gnome-objc
+
+.include "../../x11/gnome-libs/buildlink3.mk"
+
+.endif # GNOME_OBJC_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index