$NetBSD: patch-aa,v 1.5 2010/02/11 22:37:49 joerg Exp $ --- src/Makefile.BSD.orig Thu Apr 10 13:38:23 2003 +++ src/Makefile.BSD Tue Dec 16 20:15:35 2003 @@ -3,9 +3,8 @@ # # -CC = gcc -CFLAGS = -Wall -g -DNOSHADOW -LDFLAGS = # -s +CFLAGS = -DNOSHADOW -DPREFIX=\"$(PREFIX)\" -DPKG_SYSCONFDIR=\"$(PKG_SYSCONFDIR)\" +LDFLAGS = -s LIBS = LCRYPT = -lcrypt @@ -16,12 +15,12 @@ #PAM = -DPAM #PAMLIB = -lpam -INSTALL = install -DINSTALL = mkdir -p +INSTALL = install -c +DINSTALL= install -d -BINDIR = /usr/local/bin -SBINDIR = /usr/local/sbin -MANDIR = /usr/local/man -SHAREDIR = /usr/local/share/radius +BINDIR = ${DESTDIR}$(PREFIX)/bin +SBINDIR = ${DESTDIR}$(PREFIX)/sbin +MANDIR = ${DESTDIR}$(PREFIX)/man +SHAREDIR = ${DESTDIR}$(PREFIX)/share/examples/raddb .include "Make.inc"