From da057fb3a3081e00f563fab2db452b1efd0e00c1 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Sat, 20 Sep 2014 06:41:30 +0000 Subject: Fix build when pkg does not extract mtree --- net/coda6_server/files/patch-configure | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 net/coda6_server/files/patch-configure (limited to 'net/coda6_server/files/patch-configure') diff --git a/net/coda6_server/files/patch-configure b/net/coda6_server/files/patch-configure new file mode 100644 index 000000000000..8007c4b090c2 --- /dev/null +++ b/net/coda6_server/files/patch-configure @@ -0,0 +1,22 @@ +--- configure.orig 2008-12-19 22:04:04 UTC ++++ configure +@@ -20699,18 +20699,12 @@ + initdir='${prefix}'/${initdir}/rc.d/init.d + initstyle=sysv + +-elif test -d ${prefix}/${initdir}/rc.d ; then ++else + # probably FreeBSD or NetBSD's BSD-style init-scripts. + { echo "$as_me:$LINENO: result: BSD style" >&5 + echo "${ECHO_T}BSD style" >&6; } + initdir='${prefix}'/${initdir}/rc.d + initstyle=bsd +- +-else +- { echo "$as_me:$LINENO: result: unknown, installing BSD scripts in ${initdir}" >&5 +-echo "${ECHO_T}unknown, installing BSD scripts in ${initdir}" >&6; } +- initdir='${prefix}'/${initdir} +- initstyle=bsd + fi + + -- cgit v1.2.3