aboutsummaryrefslogtreecommitdiffstats
path: root/comms/efax
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-10-20 18:05:53 +0800
committerkris <kris@FreeBSD.org>2002-10-20 18:05:53 +0800
commita7a7d261cbbaacdfdc88c11a11b06bf26e534850 (patch)
treeee9e11d41f1b6c5bc1166a3167ac04271697eea0 /comms/efax
parenta94357a5f70a938faa00bd7308d88a23c4d87d72 (diff)
downloadfreebsd-ports-gnome-a7a7d261cbbaacdfdc88c11a11b06bf26e534850.tar.gz
freebsd-ports-gnome-a7a7d261cbbaacdfdc88c11a11b06bf26e534850.tar.zst
freebsd-ports-gnome-a7a7d261cbbaacdfdc88c11a11b06bf26e534850.zip
Respect CC and CFLAGS, and fix build on -current (use POSIX syntax for
chown)
Diffstat (limited to 'comms/efax')
-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: