From bf06fd85b45fb0e9ee58e30a53ffea79a1cd8f30 Mon Sep 17 00:00:00 2001 From: veego Date: Mon, 3 Jul 2000 13:44:53 +0000 Subject: Make it work on Solaris (fix the sendmail path). --- news/inn/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'news/inn') diff --git a/news/inn/Makefile b/news/inn/Makefile index 1fe58c72fec..5a8fd735b5f 100644 --- a/news/inn/Makefile +++ b/news/inn/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2000/06/01 11:23:38 rh Exp $ +# $NetBSD: Makefile,v 1.17 2000/07/03 13:44:53 veego Exp $ DISTNAME= inn-2.2.2 CATEGORIES= news @@ -19,7 +19,6 @@ HAS_CONFIGURE= yes CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM} --prefix=${PREFIX}/inn \ --mandir=${PREFIX}/man \ --with-perl --with-tmp-path=/tmp \ - --with-sendmail=/usr/sbin/sendmail \ --with-db-dir=${INN_DATA_DIR}/db \ --with-etc-dir=${INN_DATA_DIR}/etc \ --with-log-dir=${INN_DATA_DIR}/log \ @@ -27,6 +26,15 @@ CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM} --prefix=${PREFIX}/inn \ --with-spool-dir=${INN_DATA_DIR}/spool CONFIGURE_ENV+= _PATH_PERL=${LOCALBASE}/bin/perl + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" +CONFIGURE_ARGS+= --with-sendmail=/usr/lib/sendmail +.else +CONFIGURE_ARGS+= --with-sendmail=/usr/sbin/sendmail +.endif + DEINSTALL_FILE= ${WRKDIR}/DEINSTALL INSTALL_FILE= ${WRKDIR}/INSTALL -- cgit v1.2.3