summaryrefslogtreecommitdiff
path: root/devel/gnustep-make
diff options
context:
space:
mode:
authorrh <rh>2003-05-06 05:39:19 +0000
committerrh <rh>2003-05-06 05:39:19 +0000
commitac65029a3155be15af37faa62f8c5dc273088033 (patch)
treec22b85c91579264709197af8ed9a47a8d24595fb /devel/gnustep-make
parentb69ae1bb99f45fd741d1b3061799d3d51fdb8a36 (diff)
downloadpkgsrc-ac65029a3155be15af37faa62f8c5dc273088033.tar.gz
Add GNUSTEP_HOST_OS to PLIST_SUBST.
Diffstat (limited to 'devel/gnustep-make')
-rw-r--r--devel/gnustep-make/buildlink2.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/gnustep-make/buildlink2.mk b/devel/gnustep-make/buildlink2.mk
index 5aaee427541..31213bc304f 100644
--- a/devel/gnustep-make/buildlink2.mk
+++ b/devel/gnustep-make/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.6 2003/04/01 08:29:12 rh Exp $
+# $NetBSD: buildlink2.mk,v 1.7 2003/05/06 05:39:19 rh Exp $
#
.if !defined(GNUSTEP_MAKE_BUILDLINK2_MK)
@@ -21,7 +21,11 @@ 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}
+.if (${MACHINE_ARCH} == "i386")
GNUSTEP_HOST_OS= ${LOWER_OPSYS}${APPEND_ELF}
+.else
+GNUSTEP_HOST_OS= ${LOWER_OPSYS}
+.endif
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}/gnu-gnu-gnu:${GNUSTEP_USER_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}:${GNUSTEP_LOCAL_ROOT}/Tools:${GNUSTEP_LOCAL_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}/gnu-gnu-gnu:${GNUSTEP_LOCAL_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}:${GNUSTEP_NETWORK_ROOT}/Tools:${GNUSTEP_NETWORK_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}/gnu-gnu-gnu:${GNUSTEP_NETWORK_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}:${GNUSTEP_SYSTEM_ROOT}/Tools:${GNUSTEP_SYSTEM_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}/gnu-gnu-gnu:${GNUSTEP_SYSTEM_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}
@@ -45,6 +49,7 @@ MAKE_ENV+= GNUSTEP_FLATTENED=""
MAKE_ENV+= GUILE_LOAD_PATH="${GUILE_LOAD_PATH}"
PLIST_SUBST+= GNUSTEP_HOST_CPU=${GNUSTEP_HOST_CPU}
+PLIST_SUBST+= GNUSTEP_HOST_OS=${GNUSTEP_HOST_OS}
PLIST_SUBST+= APPEND_ELF=${APPEND_ELF}
.if defined(GNU_CONFIGURE)