aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-10-20 10:05:53 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-10-20 10:05:53 +0000
commit81ca4f3918584718e041fea439023ea1bdf7f560 (patch)
treeed58c5849f24b163357dc6eda3e26868f182dab1 /comms
parentfbec738ceb47b0ee5fb21b24663acf43cf14194c (diff)
downloadports-81ca4f3918584718e041fea439023ea1bdf7f560.tar.gz
ports-81ca4f3918584718e041fea439023ea1bdf7f560.zip
Respect CC and CFLAGS, and fix build on -current (use POSIX syntax for
chown)
Notes
Notes: svn path=/head/; revision=68408
Diffstat (limited to 'comms')
-rw-r--r--comms/efax/Makefile2
-rw-r--r--comms/efax/files/patch-src:Makefile21
2 files changed, 18 insertions, 5 deletions
diff --git a/comms/efax/Makefile b/comms/efax/Makefile
index 18ea418292fc..c3073cc0c7db 100644
--- a/comms/efax/Makefile
+++ b/comms/efax/Makefile
@@ -29,7 +29,7 @@ post-build:
${WRKSRC}/fax
post-install:
- ${CHOWN} uucp.dialer ${PREFIX}/bin/efax
+ ${CHOWN} uucp:dialer ${PREFIX}/bin/efax
${CHMOD} 4755 ${PREFIX}/bin/efax
${INSTALL_DATA} ${WRKSRC}/efax.rc.sample ${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/efax.rc.sample.ja ${PREFIX}/etc
diff --git a/comms/efax/files/patch-src:Makefile b/comms/efax/files/patch-src:Makefile
index b673f4dd5626..30d6d5985b11 100644
--- a/comms/efax/files/patch-src:Makefile
+++ b/comms/efax/files/patch-src:Makefile
@@ -1,6 +1,19 @@
---- Makefile.orig Thu Jun 29 11:01:22 2000
-+++ Makefile Sat May 11 13:02:46 2002
-@@ -15,8 +15,8 @@
+--- Makefile.orig Wed Jun 28 19:01:22 2000
++++ Makefile Sun Oct 20 03:06:13 2002
+@@ -3,20 +3,17 @@
+ # Change the following to the name of your ANSI C compiler
+ # (normally gcc).
+
+-CC=gcc
++CC?=cc
+
+ # Compile/load options. Add -DNO_STRERROR to CFLAGS if _strerror
+ # is undefined
+
+-CFLAGS=
+-LDFLAGS=
+-
+ # Change the following to the destination directories for
# binaries and man pages. Probably /usr/bin and /usr/man on
# Linux, /usr/local/{bin,man} on other systems.
@@ -11,7 +24,7 @@
.c.o:
$(CC) $(CFLAGS) -c $<
-@@ -32,11 +32,9 @@
+@@ -32,11 +29,9 @@
strip efix
install: