aboutsummaryrefslogtreecommitdiffstats
path: root/net/radiusd-cistron/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/radiusd-cistron/files/patch-aa')
-rw-r--r--net/radiusd-cistron/files/patch-aa25
1 files changed, 25 insertions, 0 deletions
diff --git a/net/radiusd-cistron/files/patch-aa b/net/radiusd-cistron/files/patch-aa
new file mode 100644
index 000000000000..5f80efbd42f0
--- /dev/null
+++ b/net/radiusd-cistron/files/patch-aa
@@ -0,0 +1,25 @@
+--- src/Makefile.BSD.orig Sat Nov 22 09:40:03 1997
++++ src/Makefile.BSD Fri Apr 24 09:21:12 1998
+@@ -3,9 +3,9 @@
+ #
+ #
+
+-CC = gcc
+-CFLAGS = -g -DNOSHADOW
+-LDFLAGS = # -s #tatic
++#CC = cc
++CFLAGS += -DNOSHADOW -DPREFIX=\"$(PREFIX)\"
++LDFLAGS = -s #tatic
+ LIBS =
+ LCRYPT = -lcrypt
+
+@@ -15,7 +15,7 @@
+ #PAM = -DPAM
+ #PAMLIB = -lpam
+
+-BINDIR = /usr/local/bin
+-SBINDIR = /usr/local/sbin
++BINDIR = $(PREFIX)/bin
++SBINDIR = $(PREFIX)/sbin
+
+ include Make.inc