$NetBSD: patch-ad,v 1.5 2003/07/15 17:32:33 jmmv 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_USER} -m +BINPERM=02755 -s -g ${ROOT_GROUP} REGPERM=0644