summaryrefslogtreecommitdiffstats
path: root/x11-wm/ion
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-03-15 11:20:32 +0000
committerkris <kris@FreeBSD.org>2004-03-15 11:20:32 +0000
commit684cac0c41d032650b2187e4ebc34ef907b34447 (patch)
tree910959a384dd04c2272e5491fb87b34b3634ac01 /x11-wm/ion
parent7226462f0d8b16797aa413ea481763e5d9dde9eb (diff)
downloadFreeBSD-ports-684cac0c41d032650b2187e4ebc34ef907b34447.zip
FreeBSD-ports-684cac0c41d032650b2187e4ebc34ef907b34447.tar.gz
Fix build on amd64 (FreeBSD supports snprintf()), and respect CC and CFLAGS.
Diffstat (limited to 'x11-wm/ion')
-rw-r--r--x11-wm/ion/files/patch-system.mk19
1 files changed, 18 insertions, 1 deletions
diff --git a/x11-wm/ion/files/patch-system.mk b/x11-wm/ion/files/patch-system.mk
index 6c1a5f3..e08a035 100644
--- a/x11-wm/ion/files/patch-system.mk
+++ b/x11-wm/ion/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 \
OpenPOWER on IntegriCloud