summaryrefslogtreecommitdiff
path: root/mail/sonicmail
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-04-30 00:50:52 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-04-30 00:50:52 +0000
commit8b4bb68518e749add11cd6b0cbf359f18f111c40 (patch)
tree31c48aa93bd2515cf8701889a23a9cd72a7f4d18 /mail/sonicmail
parentRespect CC and CFLAGS; don't hardcode -O2, and allow overriding of (diff)
Respect CC; don't override CFLAGS with -O2
Notes
Notes: svn path=/head/; revision=42057
Diffstat (limited to 'mail/sonicmail')
-rw-r--r--mail/sonicmail/files/patch-aa22
1 files changed, 18 insertions, 4 deletions
diff --git a/mail/sonicmail/files/patch-aa b/mail/sonicmail/files/patch-aa
index 62fb57cfe865..6d72b13fb03a 100644
--- a/mail/sonicmail/files/patch-aa
+++ b/mail/sonicmail/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile.orig Wed Aug 30 22:27:11 2000
-+++ Makefile Wed Sep 13 13:57:45 2000
+--- Makefile.orig Wed Aug 30 13:27:11 2000
++++ Makefile Mon Apr 30 00:49:33 2001
@@ -2,8 +2,8 @@
# Copyright (C) 2000 Cameron Edwards
@@ -11,9 +11,23 @@
# Change to 1 to activate debug mode:
SONICMAIL_DEBUG = 0
-@@ -43,7 +43,7 @@
+@@ -32,8 +32,8 @@
+ net.o: net.c net.h
+ sound.o: sound.c sound.h
+
+-CC = gcc
+-LINKER = gcc
++#CC = gcc
++LINKER = $(CC)
+
+ # defines:
+ DEFINES = -DXPMSPATH=\"$(XPMSPATH)\" -DWAVSPATH=\"$(WAVSPATH)\" \
+@@ -41,9 +41,9 @@
+
+
# Common compile options/link options here:
- CFLAGS = -Wall $($(OSTYPE)_Flags) -O2 `gnome-config --cflags applets` $(DEFINES)
+-CFLAGS = -Wall $($(OSTYPE)_Flags) -O2 `gnome-config --cflags applets` $(DEFINES)
++CFLAGS += -Wall $($(OSTYPE)_Flags) `gnome-config --cflags applets` $(DEFINES)
-LFLAGS = `gnome-config --libs applets` `gtk-config --libs gthread` -lpthread
+LFLAGS = `gnome-config --libs applets` `${GTK_CONFIG} --libs gthread`