aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/ion-2
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-03-15 19:20:32 +0800
committerkris <kris@FreeBSD.org>2004-03-15 19:20:32 +0800
commit684cac0c41d032650b2187e4ebc34ef907b34447 (patch)
tree910959a384dd04c2272e5491fb87b34b3634ac01 /x11-wm/ion-2
parent7226462f0d8b16797aa413ea481763e5d9dde9eb (diff)
downloadfreebsd-ports-gnome-684cac0c41d032650b2187e4ebc34ef907b34447.tar.gz
freebsd-ports-gnome-684cac0c41d032650b2187e4ebc34ef907b34447.tar.zst
freebsd-ports-gnome-684cac0c41d032650b2187e4ebc34ef907b34447.zip
Fix build on amd64 (FreeBSD supports snprintf()), and respect CC and CFLAGS.
Diffstat (limited to 'x11-wm/ion-2')
-rw-r--r--x11-wm/ion-2/files/patch-system.mk19
1 files changed, 18 insertions, 1 deletions
diff --git a/x11-wm/ion-2/files/patch-system.mk b/x11-wm/ion-2/files/patch-system.mk
index 6c1a5f30f507..e08a035fd705 100644
--- a/x11-wm/ion-2/files/patch-system.mk
+++ b/x11-wm/ion-2/files/patch-system.mk
@@ -1,5 +1,5 @@
--- system.mk.orig Sat Jan 19 15:15:13 2002
-+++ system.mk Mon Apr 21 03:53:31 2003
++++ system.mk Mon Mar 15 03:19:42 2004
@@ -7,13 +7,13 @@
## Installation paths
##
@@ -33,6 +33,23 @@
# SunOS/Solaris
#X11_PREFIX=/usr/openwin
+@@ -52,14 +52,14 @@
+ # asprintf and vasprintf in the c library. (gnu libc has.)
+ # If HAS_SYSTEM_ASPRINTF is not defined, an implementation
+ # in libtu/sprintf_2.2/ is used.
+-#HAS_SYSTEM_ASPRINTF=1
++HAS_SYSTEM_ASPRINTF=1
+
+
+ ##
+ ## C compiler
+ ##
+
+-CC=gcc
++CC?=gcc
+
+ # The POSIX_SOURCE, XOPEN_SOURCE and WARN options should not be necessary,
+ # they're mainly for development use. So, if they cause trouble (not
@@ -83,11 +83,11 @@
# have unused variables.
WARN= -W -Wimplicit -Wreturn-type -Wswitch -Wcomment \