diff options
author | jperkin <jperkin@pkgsrc.org> | 2012-09-20 09:14:05 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2012-09-20 09:14:05 +0000 |
commit | 03973bef9a0ced921ba674446a95a887c121088b (patch) | |
tree | 374c3045a61fe6a3a6a3ac438f3832c27eabe3fe /sysutils | |
parent | 1a61e3c6a2521943ad1d82c3e9c9a903f67b0ce6 (diff) | |
download | pkgsrc-03973bef9a0ced921ba674446a95a887c121088b.tar.gz |
Fix Solaris 32-bit build.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/monit/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sysutils/monit/Makefile b/sysutils/monit/Makefile index c248e5d7668..d20474175da 100644 --- a/sysutils/monit/Makefile +++ b/sysutils/monit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2010/01/17 12:02:46 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2012/09/20 09:14:05 jperkin Exp $ # DISTNAME= monit-4.10.1 @@ -16,7 +16,7 @@ PKG_DESTDIR_SUPPORT= user-destdir # no platform specific code yet NOT_FOR_PLATFORM+= BSDOS-*-* DragonFly-*-* Interix-*-* IRIX-*-* OSF1-*-* -USE_TOOLS+= gmake flex yacc pax +USE_TOOLS+= gmake gzcat flex yacc pax USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes @@ -30,6 +30,9 @@ CONFIGURE_ARGS+= --without-ssl .endif CONFIGURE_ARGS+= --with-ssl-dir=${SSLBASE:Q} CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} +.if ${OPSYS} == "SunOS" && ${ABI} == "32" +CONFIGURE_ARGS+= --without-largefiles +.endif PKG_SYSCONFSUBDIR= monit RCD_SCRIPTS= monit @@ -56,7 +59,7 @@ SUBST_SED.monit= -e "s|^\# *set *daemon|set daemon|" SUBST_SED.monit+= -e "s|include */etc/monit.d|include ${PKG_SYSCONFDIR}/monit.d|" post-extract: - cd ${WRKSRC}/contrib && pax -zrf monit-OSX-startup.tar.gz + cd ${WRKSRC}/contrib && gzcat monit-OSX-startup.tar.gz | pax -r # Perform configure substitutions on monit.1 post-configure: @@ -77,8 +80,6 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/contrib/monit/${f} ${DESTDIR}${EGDIR}/MacOSX .endfor - - .include "../../mk/pthread.buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |