$NetBSD: patch-ad,v 1.4 2001/05/01 06:55:52 jlam Exp $ --- Makefile.orig Tue May 12 17:09:14 1998 +++ Makefile @@ -2,3 +2,3 @@ -BASENAME= /usr +BASENAME= ${PREFIX} @@ -12,7 +12,7 @@ -CFLAGS = -O -DUSE_DB #$(GCC_WARNINGS) -LDFLAGS = -lcrypt -ldb2 +CFLAGS += -O ${CFLAGS_INET6} #-DUSE_DB $(GCC_WARNINGS) +LDFLAGS += -lcrypt # If you change this, edit config.h as well -CUCIPOPLIB=/var/lib/cucipop +CUCIPOPLIB=${PREFIX}/share/cucipop CUCIPOPBULLETINS=$(CUCIPOPLIB)/bulletins @@ -24,4 +24,4 @@ -INSTALL=install -o root -m -BINPERM=02755 -s -g mail +INSTALL=install -c -o root -m +BINPERM=02755 -s -g wheel REGPERM=0644