summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authortnn <tnn>2007-10-16 23:48:58 +0000
committertnn <tnn>2007-10-16 23:48:58 +0000
commit16bad87c5fde64bb6d83946f53a326e5c847d1e7 (patch)
treeb29811eb6b46cc5f60ca30ac6cd4ef5482fa68eb /textproc
parent569a83e1855a275b7deac124049b89ea9748eab5 (diff)
downloadpkgsrc-16bad87c5fde64bb6d83946f53a326e5c847d1e7.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