openbsd-ports/lang/spidermonkey/patches/patch-src_config_mk
martynas f2cc6c9271 update to spidermonkey-1.7.0v0. from Benoit Chesneau with couple
of tweaks from naddy@ and myself.
full bulk build done by naddy@ and jasper@
ok naddy@
2009-05-05 21:01:55 +00:00

31 lines
662 B
Plaintext

$OpenBSD: patch-src_config_mk,v 1.3 2009/05/05 21:01:55 martynas Exp $
--- src/config.mk.orig Sun Feb 1 09:25:52 2009
+++ src/config.mk Sun Feb 1 09:26:40 2009
@@ -94,6 +94,9 @@ endif
ifeq ($(OS_ARCH),Linux)
OS_CONFIG := Linux_All
else
+ifeq ($(OS_ARCH),OpenBSD)
+OS_CONFIG := Linux_All
+else
ifeq ($(OS_ARCH),dgux)
OS_CONFIG := dgux
else
@@ -104,6 +107,7 @@ OS_CONFIG := $(OS_ARCH)$(OS_OBJTYPE)$(OS_RELEASE
endif
endif
endif
+endif
ASFLAGS =
DEFINES =
@@ -126,7 +130,7 @@ OPTIMIZER = -Zi
else
OPTIMIZER = -g
endif
-DEFINES += -DDEBUG -DDEBUG_$(USER)
+DEFINES += -DDEBUG
OBJDIR_TAG = _DBG
endif