summaryrefslogtreecommitdiff
path: root/mail/poppassd/files/patch-Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-28 23:20:38 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-28 23:20:38 +0000
commit8e7fd48a294d7d6e54c6d07989807cff33ab19bd (patch)
tree0e35601cdb966c752e15cc4e5381c7e20e13fd50 /mail/poppassd/files/patch-Makefile
parentscience/sigrok-cli: update to 0.5.0 (diff)
Rename mail/ patch-xy patches to reflect the files they modify.
Diffstat (limited to 'mail/poppassd/files/patch-Makefile')
-rw-r--r--mail/poppassd/files/patch-Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/mail/poppassd/files/patch-Makefile b/mail/poppassd/files/patch-Makefile
new file mode 100644
index 000000000000..1ade77dca5b9
--- /dev/null
+++ b/mail/poppassd/files/patch-Makefile
@@ -0,0 +1,29 @@
+--- Makefile.orig Fri Dec 5 13:12:35 2003
++++ Makefile Fri Dec 5 13:13:13 2003
+@@ -1,14 +1,14 @@
+-BINDIR = /usr/etc
++BINDIR = ${PREFIX}/libexec
+ LIBDIR =
+-CFLAGS = -g
+-LFLAGS = -g
+-CCM = cc -Em
++CFLAGS?= -O
++LFLAGS?= ${LDFLAGS}
++CCM = $(CC) -Em
+
+ OBJECTS = poppassd.o
+-LIBS =
++LIBS = -lcrypt -lutil
+
+ poppassd: $(OBJECTS)
+- cc -o poppassd $(LFLAGS) $(OBJECTS) $(LIBS)
++ $(CC) -o poppassd $(LFLAGS) $(OBJECTS) $(LIBS)
+
+ install: poppassd
+ install -g bin -o root -m 500 poppassd $(BINDIR)
+@@ -17,4 +17,4 @@
+ rm -f *.o *~* core Makefile.new Makefile.bak poppassd
+
+ poppassd.o: poppassd.c
+- cc -c $(CFLAGS) poppassd.c
++ $(CC) -c $(CFLAGS) poppassd.c