aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2006-01-19 03:50:18 +0800
committerdinoex <dinoex@FreeBSD.org>2006-01-19 03:50:18 +0800
commita825b67db51a74a3533f686dd2a53e7592fd8909 (patch)
tree9efdea0902ebb1a350500ee13403d3b6204fbaf6 /Mk
parentad961ed303bc987e1d42fb2c22db146f425e043a (diff)
downloadfreebsd-ports-gnome-a825b67db51a74a3533f686dd2a53e7592fd8909.tar.gz
freebsd-ports-gnome-a825b67db51a74a3533f686dd2a53e7592fd8909.tar.zst
freebsd-ports-gnome-a825b67db51a74a3533f686dd2a53e7592fd8909.zip
- new option GNUSTEP_WITH_XLIB
- document compiler options GNUSTEP_WITH_BASE_GCC GNUSTEP_WITH_GCC32 GNUSTEP_WITH_GCC33 GNUSTEP_WITH_GCC34 GNUSTEP_WITH_GCC40 GNUSTEP_WITH_GCC41 GNUSTEP_WITH_GCC42
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gnustep.mk50
1 files changed, 46 insertions, 4 deletions
diff --git a/Mk/bsd.gnustep.mk b/Mk/bsd.gnustep.mk
index 9d92e96ae55d..b7eb8e839635 100644
--- a/Mk/bsd.gnustep.mk
+++ b/Mk/bsd.gnustep.mk
@@ -8,14 +8,39 @@
# Options for user to customize in /etc/make.conf:
# ================================================
#
+# WITH_GNUSTEP_XLIB=yes
+# use xlib as backend (default)
+#
# WITH_GNUSTEP_XDPS=yes
-# use xdps as backend instead of xlib.
+# use xdps as backend while build instead of xlib.
#
# WITH_GNUSTEP_LIBART=yes
-# use libart as backend instead of xlib.
+# use libart as backend while build instead of xlib.
#
# WITH_GNUSTEP_CAIRO=yes
-# use cairo as backend instead of xlib.
+# use cairo as backend while build instead of xlib.
+#
+# GNUSTEP_WITH_BASE_GCC=yes
+# use system compiler (does not work on all architectures).
+#
+# GNUSTEP_WITH_GCC32=yes
+# use gcc 3.2.x with objective C shared libraries.
+#
+# GNUSTEP_WITH_GCC33=yes
+# use gcc 3.3.x with objective C shared libraries.
+#
+# GNUSTEP_WITH_GCC34=yes
+# use gcc 3.4.x with objective C shared libraries (default).
+#
+# GNUSTEP_WITH_GCC40=yes
+# use gcc 4.0.x with objective C shared libraries.
+#
+# GNUSTEP_WITH_GCC41=yes
+# use gcc 4.1.x with objective C shared libraries.
+#
+# GNUSTEP_WITH_GCC42=yes
+# use gcc 4.2.x with objective C shared libraries.
+#
#
# Options for a port before include this file:
# ============================================
@@ -95,7 +120,9 @@ PLIST_SUB+= MAJORLIBVERSION=${DEFAULT_LIBVERSION:C/([0-9]).*/\1/1}
.if !defined(GNUSTEP_WITH_BASE_GCC)
.if !defined(GNUSTEP_WITH_GCC32) && !defined(GNUSTEP_WITH_GCC33) && !defined(GNUSTEP_WITH_GCC34)
-GNUSTEP_WITH_GCC33= yes
+.if !defined(GNUSTEP_WITH_GCC40) && !defined(GNUSTEP_WITH_GCC41) && !defined(GNUSTEP_WITH_GCC42)
+GNUSTEP_WITH_GCC34= yes
+.endif
.endif
.if defined(GNUSTEP_WITH_GCC32)
CC= gcc32
@@ -109,6 +136,18 @@ CXX= g++33
CC= gcc34
CXX= g++34
.endif
+.if defined(GNUSTEP_WITH_GCC40)
+CC= gcc40
+CXX= g++40
+.endif
+.if defined(GNUSTEP_WITH_GCC41)
+CC= gcc41
+CXX= g++41
+.endif
+.if defined(GNUSTEP_WITH_GCC42)
+CC= gcc42
+CXX= g++42
+.endif
.endif
# ---------------------------------------------------------------------------
@@ -138,7 +177,10 @@ GNUSTEP_WITH_XDPS=yes
USE_GNUSTEP_LIBART=yes
.elif defined(WITH_GNUSTEP_CAIRO)
USE_GNUSTEP_CAIRO=yes
+.elif defined(WITH_GNUSTEP_XLIB)
+USE_GNUSTEP_XLIB=yes
.else
+# default:
USE_GNUSTEP_XLIB=yes
.endif
.endif