summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjschauma <jschauma>2003-06-12 15:37:13 +0000
committerjschauma <jschauma>2003-06-12 15:37:13 +0000
commitb242f937bc396ac4ab596eebde7fb0b83520ed98 (patch)
tree99c332e2f3aee67cb492026df5a83f56ee60ad9b /print
parent50ff172fe82b7d0170c2f25e8a1f4fde60bd2722 (diff)
downloadpkgsrc-b242f937bc396ac4ab596eebde7fb0b83520ed98.tar.gz
Make this work on IRIX.
Diffstat (limited to 'print')
-rw-r--r--print/gv/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/print/gv/Makefile b/print/gv/Makefile
index 0ff43f7480a..8c2c6144594 100644
--- a/print/gv/Makefile
+++ b/print/gv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2003/06/02 01:17:29 jschauma Exp $
+# $NetBSD: Makefile,v 1.38 2003/06/12 15:37:13 jschauma Exp $
# FreeBSD Id: Makefile,v 1.16 1997/07/13 18:49:29 max Exp
#
@@ -19,6 +19,13 @@ XAW_TYPE?= 3d
.if ${OPSYS} == "Linux"
USE_GMAKE= YES
+.elif ${OPSYS} == "IRIX" && !empty(ABI)
+# Hack to put the correct path first -- otherwise, buildlink will first try to link X11BASE/lib
+. if ${ABI} == "64"
+IMAKEOPTS+= -DsgiABIopts="-L/usr/lib${ABI} -DLONG64"
+. else
+IMAKEOPTS+= -DsgiABIdefs=-L/usr/lib${ABI}
+. endif
.endif
# We need Xaw3d to build.