diff options
author | fredb <fredb@pkgsrc.org> | 2005-03-06 16:56:17 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2005-03-06 16:56:17 +0000 |
commit | 1d04bd0c573bbd34de7bc4b7dd1233a55039f3f4 (patch) | |
tree | 8c620d7d7c843aa8d01e601ab7c65b226d78de1a /www/mMosaic/Makefile | |
parent | 079f54e1fdb2b365fc00e81c251d205c9f3ef637 (diff) | |
download | pkgsrc-1d04bd0c573bbd34de7bc4b7dd1233a55039f3f4.tar.gz |
Don't patch the Makefile unconditionally for NetBSD, giving this a
fighting chance on a few other platforms. Addresses PR pkg/26932.
Diffstat (limited to 'www/mMosaic/Makefile')
-rw-r--r-- | www/mMosaic/Makefile | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/www/mMosaic/Makefile b/www/mMosaic/Makefile index bbf39e090ae..80ad4836438 100644 --- a/www/mMosaic/Makefile +++ b/www/mMosaic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2004/10/03 00:18:26 tv Exp $ +# $NetBSD: Makefile,v 1.8 2005/03/06 16:56:17 fredb Exp $ # DISTNAME= mMosaic-3.7.2 @@ -22,4 +22,20 @@ do-install: .include "../../graphics/png/buildlink3.mk" .include "../../mk/motif.buildlink3.mk" +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" +MAKEFLAGS+= sysconfigflags='-DNETBSD -DMOTIF1_2' + +.elif ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly" +MAKEFLAGS+= sysconfigflags='-DFreeBSD -DMOTIF1_2' + +.elif ${OPSYS} == "Linux" +MAKEFLAGS+= sysconfigflags='-DLINUX -Dlinux -DMOTIF1_2' + +.elif ${OPSYS:MIRIX*} != "" +MAKEFLAGS+= sysconfigflags='-DSVR4 -DIRIX -DMOTIF1_2' + +.endif + .include "../../mk/bsd.pkg.mk" |