diff options
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" |