openbsd-ports/lang/spidermonkey/patches/patch-src_config_mk
martynas 24ae3154c4 major update to 1.60
tested by ajacoutot@, steven@
ok maintainer ajacoutot@
2007-04-10 13:03:09 +00:00

31 lines
671 B
Plaintext

$OpenBSD: patch-src_config_mk,v 1.2 2007/04/10 13:03:09 martynas Exp $
--- src/config.mk.orig Sat Nov 15 02:10:55 2003
+++ src/config.mk Mon Apr 9 21:26:10 2007
@@ -90,6 +90,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
@@ -100,6 +103,7 @@ OS_CONFIG := $(OS_ARCH)$(OS_OBJTYPE)$(OS_RELEASE
endif
endif
endif
+endif
ASFLAGS =
DEFINES =
@@ -122,7 +126,7 @@ OPTIMIZER = -Zi
else
OPTIMIZER = -g
endif
-DEFINES += -DDEBUG -DDEBUG_$(shell whoami)
+DEFINES += -DDEBUG
OBJDIR_TAG = _DBG
endif