27 lines
1.2 KiB
Text
27 lines
1.2 KiB
Text
$NetBSD: patch-aa,v 1.4 2009/03/06 00:12:28 snj Exp $
|
|
|
|
--- Makefile.in.orig 2008-01-14 22:26:13.000000000 -0800
|
|
+++ Makefile.in 2009-03-05 16:10:24.000000000 -0800
|
|
@@ -9,7 +9,7 @@ CFLAGS = @CFLAGS@ -I$(srcdir) -I.
|
|
INSTALL = @INSTALL@
|
|
CC = @CC@
|
|
CHROOTED_NAME = @CHROOTED_NAME@
|
|
-CONFDIR = @sysconfdir@/scponly
|
|
+CONFDIR = @sysconfdir@
|
|
DEBUGFILE = ${CONFDIR}/debuglevel
|
|
DEFS = @DEFS@ -DDEBUGFILE='"${DEBUGFILE}"'
|
|
LN_S = @LN_S@
|
|
@@ -38,9 +38,10 @@ install: scponly debuglevel scponly.8
|
|
${INSTALL} -d ${DESTDIR}${bindir}
|
|
${INSTALL} -d ${DESTDIR}${mandir}/man8
|
|
${INSTALL} -d ${DESTDIR}${CONFDIR}
|
|
- ${INSTALL} -o 0 -g 0 scponly ${DESTDIR}${bindir}/scponly
|
|
- ${INSTALL} -o 0 -g 0 -m 0644 scponly.8 ${DESTDIR}${mandir}/man8/scponly.8
|
|
- ${INSTALL} -o 0 -g 0 -m 0644 debuglevel ${DESTDIR}${DEBUGFILE}
|
|
+ ${INSTALL} -d ${DESTDIR}${prefix}/share/examples/scponly
|
|
+ ${BSD_INSTALL_PROGRAM} scponly ${DESTDIR}${bindir}/scponly
|
|
+ ${BSD_INSTALL_DATA} scponly.8 ${DESTDIR}${mandir}/man8/scponly.8
|
|
+ ${BSD_INSTALL_DATA} debuglevel ${DESTDIR}${prefix}/share/examples/scponly
|
|
if test "x${CHROOTED_NAME}" != "x"; then \
|
|
${INSTALL} -d ${DESTDIR}${sbindir}; \
|
|
rm -f ${DESTDIR}${sbindir}/${CHROOTED_NAME}; \
|