aboutsummaryrefslogtreecommitdiff
path: root/converters/btoa
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-10-19 08:28:57 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-10-19 08:28:57 +0000
commit39e928004ea2b7696ade100432f4ca2655fdde04 (patch)
treefa2da2def440fb62c1d41069a07ab89cff3c720d /converters/btoa
parent85d2c34719451d1f33337b8f6367e9ae4d56836d (diff)
downloadports-39e928004ea2b7696ade100432f4ca2655fdde04.tar.gz
ports-39e928004ea2b7696ade100432f4ca2655fdde04.zip
Respect CC and CFLAGS
Notes
Notes: svn path=/head/; revision=91627
Diffstat (limited to 'converters/btoa')
-rw-r--r--converters/btoa/files/patch-aa23
1 files changed, 17 insertions, 6 deletions
diff --git a/converters/btoa/files/patch-aa b/converters/btoa/files/patch-aa
index ea68760fdd6f..8017f45b9eec 100644
--- a/converters/btoa/files/patch-aa
+++ b/converters/btoa/files/patch-aa
@@ -1,19 +1,30 @@
---- Makefile.sun.orig Fri Oct 8 13:00:00 1993
-+++ Makefile.sun Wed May 8 17:05:41 2002
-@@ -1,5 +1,9 @@
+--- Makefile.sun.orig Fri Oct 8 05:00:00 1993
++++ Makefile.sun Sun Oct 19 01:28:03 2003
+@@ -1,13 +1,32 @@
OBJS = btoa.o atob.o repair.o
+DESTDIR ?= /usr/local
+
++CC ?= cc
++CFLAGS ?= -O -pipe
++
+all: btoa
+
btoa: $(OBJS)
- cc -O $(OBJS) -o btoa
+- cc -O $(OBJS) -o btoa
++ $(CC) $(CFLAGS) $(OBJS) -o btoa
-@@ -11,3 +15,15 @@
+ btoa.o: btoa.c btoa.h chksum.h
+- cc -c -O btoa.c
++ $(CC) $(CFLAGS) -c btoa.c
+
+ atob.o: atob.c btoa.h chksum.h
+- cc -c -O atob.c
++ $(CC) $(CFLAGS) -c atob.c
repair.o: repair.c btoa.h
- cc -c -O repair.c
+- cc -c -O repair.c
++ $(CC) $(CFLAGS) -c repair.c
+
+install: btoa btoa.1
+ -@mkdir -p $(DESTDIR)/bin