c937d65f8c
- tweaks by myself and bernd@ ok bernd@ (MAINTAINER)
22 lines
770 B
Plaintext
22 lines
770 B
Plaintext
$OpenBSD: patch-Makefile,v 1.2 2007/12/05 20:56:21 okan Exp $
|
|
--- Makefile.orig Tue Sep 20 06:59:04 2005
|
|
+++ Makefile Tue Dec 4 22:10:04 2007
|
|
@@ -1,7 +1,7 @@
|
|
# $Id: patch-Makefile,v 1.2 2007/12/05 20:56:21 okan Exp $
|
|
|
|
-BINDIR = /usr/local/sbin
|
|
-MANDIR = /usr/local/man
|
|
+BINDIR = ${PREFIX}/sbin
|
|
+MANDIR = ${PREFIX}/man
|
|
CFLAGS+= -DHAS_FGETLN -DHAS_STRLCPY
|
|
# CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
|
|
# CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
|
|
@@ -10,6 +10,7 @@ all: femail
|
|
|
|
femail: femail.o openbsd_compat.o
|
|
$(CC) $(LDFLAGS) femail.o openbsd_compat.o $(LDLIBS) -o femail
|
|
+ $(CC) $(LDFLAGS) -static femail.o openbsd_compat.o $(LDLIBS) -o femail-static
|
|
|
|
femail.o: femail.c
|
|
$(CC) $(CFLAGS) -c femail.c
|