openbsd-ports/sysutils/radmind/patches/patch-Makefile_in
jasper 5df8721a25 update radmind to 1.10.0
from William Yodlowsky (MAINTAINER)
2007-09-09 20:02:09 +00:00

46 lines
1.3 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.6 2007/09/09 20:02:09 jasper Exp $
--- Makefile.in.orig Tue Jul 31 16:08:16 2007
+++ Makefile.in Sun Sep 9 21:59:52 2007
@@ -11,6 +11,7 @@ exec_prefix=@exec_prefix@
MANDIR=@mandir@
BINDIR=@bindir@
SBINDIR=@sbindir@
+SYSCONFDIR=@sysconfdir@
# For server
RADMINDDIR=@radminddir@
@@ -89,7 +90,7 @@ TWHICH_OBJ= version.o twhich.o argcargv.o transcri
LSORT_OBJ= version.o lsort.o pathcmp.o code.o argcargv.o
-all : ${TARGETS}
+all : ${TARGETS} rash
version.o : version.c
${CC} ${CFLAGS} \
@@ -255,6 +256,7 @@ rash : FRC
-e 's@_RADMIND_COMMANDFILE@${COMMANDFILE}@g' \
-e 's@_RADMIND_VERSION@$(shell cat VERSION)@g' \
-e 's@_RADMIND_ECHO_PATH@${ECHO}@g' \
+ -e 's@SYSCONFDIR@${SYSCONFDIR}@g' \
${srcdir}/ra.sh > tmp/ra.sh;
man : FRC
@@ -272,7 +274,7 @@ man : FRC
${srcdir}/man/$$i > tmp/man/$$i; \
done
-install : all man rash
+install : ${TARGETS} man
-mkdir -p ${DESTDIR}/${exec_prefix}
-mkdir -p ${DESTDIR}/${SBINDIR}
${INSTALL} -m 0755 -c radmind ${DESTDIR}/${SBINDIR}/
@@ -299,6 +301,7 @@ install : all man rash
-mkdir -p ${DESTDIR}/${PREAPPLYDIR}
-mkdir -p ${DESTDIR}/${POSTAPPLYDIR}
-mkdir -p ${DESTDIR}/${CERTDIR}
+ rm -rf tmp/
PKGNAME=RadmindTools-${VERSION}
PKGDIR=tmp/RadmindToolsInstaller