summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2007-10-16 23:48:58 +0000
committertnn <tnn@pkgsrc.org>2007-10-16 23:48:58 +0000
commit24d5b5440929de9526a6f56e677b8849f624fc21 (patch)
treeb29811eb6b46cc5f60ca30ac6cd4ef5482fa68eb /textproc
parent0d22d43b0025cb69d33a7dfeec038c71e05ef3e9 (diff)
downloadpkgsrc-24d5b5440929de9526a6f56e677b8849f624fc21.tar.gz
Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/aspell/Makefile4
-rw-r--r--textproc/libxslt/Makefile4
-rw-r--r--textproc/opensp/hacks.mk4
3 files changed, 6 insertions, 6 deletions
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