blob: dfb0a72c09543abc44c62ac23960589775f90d9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
$NetBSD: patch-ad,v 1.7 2011/11/01 14:47:09 bsiegert Exp $
--- Makefile.orig Tue May 12 21:08:53 1998
+++ Makefile
@@ -2,3 +2,3 @@
-BASENAME= /usr
+BASENAME= ${PREFIX}
@@ -12,4 +12,3 @@ GCC_WARNINGS = -O2 -pedantic -Wreturn-ty
-CFLAGS = -O -DUSE_DB #$(GCC_WARNINGS)
-LDFLAGS = -lcrypt -ldb2
+CFLAGS += -O ${CFLAGS_INET6} #-DUSE_DB $(GCC_WARNINGS)
@@ -16,3 +15,3 @@ LDFLAGS = -lcrypt -ldb2
# If you change this, edit config.h as well
-CUCIPOPLIB=/var/lib/cucipop
+CUCIPOPLIB=${PREFIX}/share/cucipop
CUCIPOPBULLETINS=$(CUCIPOPLIB)/bulletins
@@ -24,6 +23,2 @@ MANDIR=$(BASENAME)/man/man8
-INSTALL=install -o root -m
-BINPERM=02755 -s -g mail
-REGPERM=0644
-
#
@@ -70,4 +65,4 @@ $(MD5_OBJ): md5/md5c.c md5/md5.h
install: $(BINS) $(MANS)
- $(INSTALL) $(BINPERM) $(BINS) $(BINDIR)
- $(INSTALL) $(REGPERM) $(MANS) $(MANDIR)
+ $(BSD_INSTALL_PROGRAM) $(BINS) $(BINDIR)
+ $(BSD_INSTALL_DATA) $(MANS) $(MANDIR)
mkdir $(CUCIPOPLIB) 2>/dev/null; exit 0
|