openbsd-ports/mail/poppassd/patches/patch-Makefile
sturm 8fa045d4dc new style patches
remove some newlines to let poppassd change passwords

mostly from Paul Pruett <ppruett at webengr.com>
2005-12-24 16:42:43 +00:00

25 lines
598 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1 2005/12/24 16:42:43 sturm Exp $
--- Makefile.orig Sun Dec 4 12:12:10 2005
+++ Makefile Sun Dec 4 12:12:10 2005
@@ -1,17 +1,15 @@
-BINDIR = /usr/etc
+BINDIR = ${PREFIX}/libexec
LIBDIR =
-CFLAGS = -g
-LFLAGS = -g
CCM = cc -Em
OBJECTS = poppassd.o
LIBS =
poppassd: $(OBJECTS)
- cc -o poppassd $(LFLAGS) $(OBJECTS) $(LIBS)
+ cc -o poppassd $(LDFLAGS) $(OBJECTS) $(LIBS)
install: poppassd
- install -g bin -o root -m 500 poppassd $(BINDIR)
+ install -g bin -o root -m 544 poppassd $(BINDIR)
clean:
rm -f *.o *~* core Makefile.new Makefile.bak poppassd