pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics The "pkgsrc-i386" target doesn't seem to work...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7c6f750a5ce4
branches: trunk
changeset: 541880:7c6f750a5ce4
user: tnn <tnn%pkgsrc.org@localhost>
date: Sun Apr 27 09:43:12 2008 +0000
description:
The "pkgsrc-i386" target doesn't seem to work on SunOS, so for now fall back
to the "pkgsrc" target which is intended to be portable.
diffstat:
graphics/Mesa/Makefile.lib | 14 ++------------
graphics/MesaLib/options.mk | 8 +++++---
2 files changed, 7 insertions(+), 15 deletions(-)
diffs (55 lines):
diff -r 1b37e3711199 -r 7c6f750a5ce4 graphics/Mesa/Makefile.lib
--- a/graphics/Mesa/Makefile.lib Sun Apr 27 09:23:14 2008 +0000
+++ b/graphics/Mesa/Makefile.lib Sun Apr 27 09:43:12 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.lib,v 1.8 2008/04/26 20:38:49 tnn Exp $
+# $NetBSD: Makefile.lib,v 1.9 2008/04/27 09:43:12 tnn Exp $
#
# This Makefile fragment is included by all packages that build libraries
# from the Mesa sources.
@@ -51,17 +51,7 @@
###
### XXX do we still want this?
###
-.if ${OPSYS} == "SunOS"
-. if ${MACHINE_ARCH} == "sparc"
-. if !empty(PKGSRC_COMPILER:Msunpro)
-BUILD_TARGET= sunos5
-. else
-BUILD_TARGET= sunos5-gcc
-. endif
-. else
-BUILD_TARGET?= pkgsrc
-. endif
-.elif ${OPSYS} == "Interix"
+.if ${OPSYS} == "Interix"
BUILD_TARGET= interix3
.else
BUILD_TARGET?= pkgsrc
diff -r 1b37e3711199 -r 7c6f750a5ce4 graphics/MesaLib/options.mk
--- a/graphics/MesaLib/options.mk Sun Apr 27 09:23:14 2008 +0000
+++ b/graphics/MesaLib/options.mk Sun Apr 27 09:43:12 2008 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: options.mk,v 1.2 2008/04/25 20:33:08 bjs Exp $
+# $NetBSD: options.mk,v 1.3 2008/04/27 09:43:12 tnn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib
PKG_SUPPORTED_OPTIONS= mesa-execmem-mmap
# Assembler code build configurations
-.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \
+ ${OPSYS} != "SunOS"
PKG_SUPPORTED_OPTIONS+= ${MACHINE_ARCH}
PKG_SUGGESTED_OPTIONS+= ${MACHINE_ARCH}
.endif
@@ -63,7 +64,8 @@
###
### XXX Yes, this is a bit overly verbose; with Mesa, that can't hurt much.
###
-.if !empty(PKG_OPTIONS:Mi386) || !empty(PKG_OPTIONS:Mx86_64)
+.if (!empty(PKG_OPTIONS:Mi386) || !empty(PKG_OPTIONS:Mx86_64)) && \
+ ${OPSYS} != "SunOS"
BUILD_TARGET_SUFFIX= -${MACHINE_ARCH}
.else
BUILD_TARGET_SUFFIX= # empty
Home |
Main Index |
Thread Index |
Old Index