pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel bl3ify gnustep-objc.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e1fff70a8522
branches: trunk
changeset: 471846:e1fff70a8522
user: minskim <minskim%pkgsrc.org@localhost>
date: Wed Mar 31 19:47:59 2004 +0000
description:
bl3ify gnustep-objc.
diffstat:
devel/gnustep-make/buildlink3.mk | 68 ++++++++++++++++++++++++++++++++++++++++
devel/gnustep-objc/Makefile | 8 ++--
2 files changed, 72 insertions(+), 4 deletions(-)
diffs (96 lines):
diff -r ef875b12da6d -r e1fff70a8522 devel/gnustep-make/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gnustep-make/buildlink3.mk Wed Mar 31 19:47:59 2004 +0000
@@ -0,0 +1,68 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/31 19:47:59 minskim Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GNUSTEP_MAKE_BUILDLINK3_MK:= ${GNUSTEP_MAKE_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gnustep-make
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnustep-make}
+BUILDLINK_PACKAGES+= gnustep-make
+
+.if !empty(GNUSTEP_MAKE_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.gnustep-make+= gnustep-make>=1.8.0
+BUILDLINK_PKGSRCDIR.gnustep-make?= ../../devel/gnustep-make
+
+GNUSTEP_ROOT= ${PREFIX}/share/GNUstep
+GNUSTEP_SYSTEM_ROOT= ${GNUSTEP_ROOT}/System
+GNUSTEP_FLATTENED= yes
+#LIBRARY_COMBO= gnu-gnu-gnu
+GNUSTEP_LOCAL_ROOT= ${GNUSTEP_ROOT}/Local
+GNUSTEP_NETWORK_ROOT= ${GNUSTEP_ROOT}/Network
+GNUSTEP_MAKEFILES= ${GNUSTEP_SYSTEM_ROOT}/Makefiles
+GNUSTEP_HOST= ${MACHINE_GNU_PLATFORM}
+GNUSTEP_HOST_CPU= ${MACHINE_GNU_ARCH:S/i386/ix86/}
+GNUSTEP_HOST_VENDOR= ${LOWER_VENDOR}
+GNUSTEP_HOST_OS= ${LOWER_OPSYS}
+
+GNUSTEP_USER_ROOT= ${BUILDLINK_DIR}/share/GNUstep
+GNUSTEP_PATHLIST= ${GNUSTEP_USER_ROOT}:${GNUSTEP_LOCAL_ROOT}:${GNUSTEP_NETWORK_ROOT}:${GNUSTEP_SYSTEM_ROOT}
+GNUSTEP_PATH=
${GNUSTEP_USER_ROOT}/Tools:${GNUSTEP_USER_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}:${GNUSTEP_LOCAL_ROOT}/Tools:${GNUSTEP_LOCAL_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}:${GNUSTEP_NETWORK_ROOT}/Tools:${GNUSTEP_NETWORK_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}:${GNUSTEP_SYSTEM_ROOT}/Tools:${GNUSTEP_SYSTEM_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}
+GUILE_LOAD_PATH= ${GNUSTEP_USER_ROOT}/Libraries/Guile:${GNUSTEP_LOCAL_ROOT}/Libraries/Guile:${GNUSTEP_NETWORK_ROOT}/Libraries/Guile:${GNUSTEP_SYSTEM_ROOT}/Libraries/Guile
+
+PATH:= ${GNUSTEP_PATH}:${PATH}
+
+MAKE_ENV+= GNUSTEP_ROOT="${GNUSTEP_ROOT}"
+MAKE_ENV+= GNUSTEP_SYSTEM_ROOT="${GNUSTEP_SYSTEM_ROOT}"
+MAKE_ENV+= GNUSTEP_LOCAL_ROOT="${GNUSTEP_LOCAL_ROOT}"
+MAKE_ENV+= GNUSTEP_NETWORK_ROOT="${GNUSTEP_NETWORK_ROOT}"
+MAKE_ENV+= GNUSTEP_MAKEFILES="${GNUSTEP_MAKEFILES}"
+MAKE_ENV+= GNUSTEP_HOST="${GNUSTEP_HOST}"
+MAKE_ENV+= GNUSTEP_HOST_CPU="${GNUSTEP_HOST_CPU}"
+MAKE_ENV+= GNUSTEP_HOST_VENDOR="${GNUSTEP_HOST_VENDOR}"
+MAKE_ENV+= GNUSTEP_HOST_OS="${GNUSTEP_HOST_OS}"
+MAKE_ENV+= GNUSTEP_USER_ROOT="${GNUSTEP_USER_ROOT}"
+MAKE_ENV+= GNUSTEP_PATHLIST="${GNUSTEP_PATHLIST}"
+MAKE_ENV+= GNUSTEP_FLATTENED="${GNUSTEP_FLATTENED}"
+MAKE_ENV+= GUILE_LOAD_PATH="${GUILE_LOAD_PATH}"
+
+.if defined(GNU_CONFIGURE)
+CONFIGURE_ENV+= GNUSTEP_ROOT="${GNUSTEP_ROOT}"
+CONFIGURE_ENV+= GNUSTEP_SYSTEM_ROOT="${GNUSTEP_SYSTEM_ROOT}"
+CONFIGURE_ENV+= GNUSTEP_LOCAL_ROOT="${GNUSTEP_LOCAL_ROOT}"
+CONFIGURE_ENV+= GNUSTEP_NETWORK_ROOT="${GNUSTEP_NETWORK_ROOT}"
+CONFIGURE_ENV+= GNUSTEP_MAKEFILES="${GNUSTEP_MAKEFILES}"
+CONFIGURE_ENV+= GNUSTEP_HOST="${GNUSTEP_HOST}"
+CONFIGURE_ENV+= GNUSTEP_HOST_CPU="${GNUSTEP_HOST_CPU}"
+CONFIGURE_ENV+= GNUSTEP_HOST_VENDOR="${GNUSTEP_HOST_VENDOR}"
+CONFIGURE_ENV+= GNUSTEP_HOST_OS="${GNUSTEP_HOST_OS}"
+CONFIGURE_ENV+= GNUSTEP_USER_ROOT="${GNUSTEP_USER_ROOT}"
+CONFIGURE_ENV+= GNUSTEP_PATHLIST="${GNUSTEP_PATHLIST}"
+CONFIGURE_ENV+= GNUSTEP_FLATTENED="${GNUSTEP_FLATTENED}"
+CONFIGURE_ENV+= GUILE_LOAD_PATH="${GUILE_LOAD_PATH}"
+.endif
+
+.endif # GNUSTEP_MAKE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r ef875b12da6d -r e1fff70a8522 devel/gnustep-objc/Makefile
--- a/devel/gnustep-objc/Makefile Wed Mar 31 19:41:21 2004 +0000
+++ b/devel/gnustep-objc/Makefile Wed Mar 31 19:47:59 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/01/22 08:24:29 grant Exp $
+# $NetBSD: Makefile,v 1.8 2004/03/31 19:47:59 minskim Exp $
#
DISTNAME= gnustep-objc-1.3.0
@@ -9,11 +9,11 @@
HOMEPAGE= http://www.gnustep.org/
COMMENT= Objective-C runtime
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_GNU_TOOLS+= make
MAKEFILE= GNUmakefile
NO_CONFIGURE= YES
-.include "../../devel/gnustep-make/buildlink2.mk"
-.include "../../mk/pthread.buildlink2.mk"
+.include "../../devel/gnustep-make/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index