From 24d5b5440929de9526a6f56e677b8849f624fc21 Mon Sep 17 00:00:00 2001 From: tnn Date: Tue, 16 Oct 2007 23:48:58 +0000 Subject: Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead. --- textproc/aspell/Makefile | 4 ++-- textproc/libxslt/Makefile | 4 ++-- textproc/opensp/hacks.mk | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'textproc') diff --git a/textproc/aspell/Makefile b/textproc/aspell/Makefile index 252dc5fed8a..1ab3cbc002c 100644 --- a/textproc/aspell/Makefile +++ b/textproc/aspell/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.52 2007/09/11 18:42:30 wiz Exp $ +# $NetBSD: Makefile,v 1.53 2007/10/16 23:49:00 tnn Exp $ # DISTNAME= aspell-0.60.5 @@ -31,7 +31,7 @@ CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes .include "../../mk/bsd.prefs.mk" -.if !empty(LOWER_OPSYS:Mirix5*) +.if ${OPSYS} == "IRIX" CPPFLAGS+= -DDECLARE_VSNPRINTF -DDECLARE_SNPRINTF # IRIX 5 has an older implementation of signal() CPPFLAGS+= -DHAVE_OLD_SIGNAL diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile index 3dead292f2f..f3b85d60c3c 100644 --- a/textproc/libxslt/Makefile +++ b/textproc/libxslt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.77 2007/08/29 23:26:44 wiz Exp $ +# $NetBSD: Makefile,v 1.78 2007/10/16 23:49:00 tnn Exp $ DISTNAME= libxslt-1.1.22 CATEGORIES= textproc @@ -24,7 +24,7 @@ CONFIGURE_ARGS+= --without-python TEST_TARGET= check .include "../../mk/bsd.prefs.mk" -.if !empty(LOWER_OPSYS:Mirix5*) +.if ${OPSYS} == "IRIX" CPPFLAGS+= -Dsocklen_t=int .endif diff --git a/textproc/opensp/hacks.mk b/textproc/opensp/hacks.mk index d5f29ac7577..6edfd676a03 100644 --- a/textproc/opensp/hacks.mk +++ b/textproc/opensp/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.1 2006/02/19 18:32:27 schwarz Exp $ +# $NetBSD: hacks.mk,v 1.2 2007/10/16 23:49:00 tnn Exp $ .if !defined(OPENSP_HACKS_MK) OPENSP_HACKS_MK= # defined @@ -6,7 +6,7 @@ OPENSP_HACKS_MK= # defined ### [Sat Feb 11 23:03:26 CET 2006 : schwarz] ### IRIX 5 needs to link with libgen to use dirname() ### -.if !empty(LOWER_OPSYS:Mirix5*) +.if ${OPSYS} == "IRIX" PKG_HACKS+= add-lgen LIBS+= -lgen .endif -- cgit v1.2.3