aboutsummaryrefslogtreecommitdiffstats
path: root/comms/aldo/files
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-05-28 16:23:11 +0800
committervs <vs@FreeBSD.org>2004-05-28 16:23:11 +0800
commit338f8d0fb78233156277371a58690530514054e8 (patch)
tree95c5c20c177e96bf26865bb816a331b4e6f2c1f4 /comms/aldo/files
parent9d9295b88204a1e047808d47520ecfeda545c21f (diff)
downloadfreebsd-ports-gnome-338f8d0fb78233156277371a58690530514054e8.tar.gz
freebsd-ports-gnome-338f8d0fb78233156277371a58690530514054e8.tar.zst
freebsd-ports-gnome-338f8d0fb78233156277371a58690530514054e8.zip
Cleanup CC/CFLAGS handling & patch.
PR: ports/65839 Submitted by: Michael Johnson Approved by: maintainer timeoute (busy)
Diffstat (limited to 'comms/aldo/files')
-rw-r--r--comms/aldo/files/patch-Makefile24
1 files changed, 6 insertions, 18 deletions
diff --git a/comms/aldo/files/patch-Makefile b/comms/aldo/files/patch-Makefile
index 06ec482e7138..afda28787a82 100644
--- a/comms/aldo/files/patch-Makefile
+++ b/comms/aldo/files/patch-Makefile
@@ -1,21 +1,9 @@
---- Makefile.old Tue Mar 16 21:13:21 2004
-+++ Makefile Tue Mar 16 21:14:20 2004
-@@ -3,6 +3,8 @@
+--- Makefile.orig Sun May 9 22:32:36 2004
++++ Makefile Sun May 9 22:32:49 2004
+@@ -1,5 +1,5 @@
+ #MARCH=-march=athlon-tbird
+-CXXFLAGS=-ansi -pedantic -Wall -O3
++CXXFLAGS?=-ansi -pedantic -Wall -O3
includedir = $(CURDIR)/include
CXXFLAGS+= -I$(includedir)
-+PREFIX ?= /usr
-+
- export MARCH CXXFLAGS
-
- VPATH = src $(SUBDIRS)
-@@ -65,7 +67,7 @@
-
- install: libs aldo uninstall
- @strip aldo
-- @install -m555 -oroot aldo /usr/bin/
-+ @install -m555 -oroot aldo $(PREFIX)/bin/
-
- uninstall:
-- @$(RM) /usr/bin/aldo
-+ @$(RM) $(PREFIX)/bin/aldo