diff options
author | veego <veego@pkgsrc.org> | 2000-07-03 13:44:53 +0000 |
---|---|---|
committer | veego <veego@pkgsrc.org> | 2000-07-03 13:44:53 +0000 |
commit | bf06fd85b45fb0e9ee58e30a53ffea79a1cd8f30 (patch) | |
tree | b1a0693c208b14cf8965a2280c5015dc63a14b95 /news | |
parent | e0b2cc8740051eb19ea5223e019a8fa26b940832 (diff) | |
download | pkgsrc-bf06fd85b45fb0e9ee58e30a53ffea79a1cd8f30.tar.gz |
Make it work on Solaris (fix the sendmail path).
Diffstat (limited to 'news')
-rw-r--r-- | news/inn/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
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 |