openbsd-ports/mail/poppassd/patches/patch-Makefile

25 lines
598 B
Plaintext
Raw Normal View History

$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
2000-06-04 20:42:58 -04:00
@@ -1,17 +1,15 @@
1998-05-17 00:00:26 -04:00
-BINDIR = /usr/etc
+BINDIR = ${PREFIX}/libexec
LIBDIR =
2000-06-04 20:42:58 -04:00
-CFLAGS = -g
-LFLAGS = -g
1998-05-17 00:00:26 -04:00
CCM = cc -Em
OBJECTS = poppassd.o
LIBS =
poppassd: $(OBJECTS)
2000-06-04 20:42:58 -04:00
- 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