mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-08 11:52:55 -04:00
40 lines
857 B
Plaintext
40 lines
857 B
Plaintext
$NetBSD: patch-ab,v 1.2 2009/04/28 11:57:54 hasso Exp $
|
|
|
|
--- contrib/Makefile.orig 2008-06-17 18:32:05.000000000 -0400
|
|
+++ contrib/Makefile
|
|
@@ -1,6 +1,16 @@
|
|
# Contrib Makefile
|
|
|
|
SYSTEM = $(shell uname -s)
|
|
+ifeq ($(SYSTEM),Linux)
|
|
+ SYSTEM = UNIX
|
|
+endif
|
|
+ifeq ($(SYSTEM),NetBSD)
|
|
+ SYSTEM = UNIX
|
|
+endif
|
|
+ifeq ($(SYSTEM),DragonFly)
|
|
+ SYSTEM = UNIX
|
|
+endif
|
|
+
|
|
|
|
# Special case for Mac OS X: everything is handled from the Xcode project
|
|
ifeq ($(SYSTEM),Darwin)
|
|
@@ -11,7 +18,7 @@ ifeq ($(SYSTEM),Darwin)
|
|
all: .contrib
|
|
|
|
.contrib:
|
|
- ( cd .. ; ./configure ; cd contrib ; cp -f ../config.jam . ; ../jam )
|
|
+ ( cd .. ; ./configure ; cd contrib ; cp -f ../config.jam . ; ../jam -q )
|
|
|
|
clean:
|
|
( echo "Do a make mrproper to remove the contrib libraries )
|
|
@@ -21,7 +28,7 @@ mrproper:
|
|
|
|
endif
|
|
|
|
-ifeq ($(SYSTEM),Linux)
|
|
+ifeq ($(SYSTEM),UNIX)
|
|
|
|
all: .contrib
|
|
|