summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorschwarz <schwarz>2006-02-19 18:32:27 +0000
committerschwarz <schwarz>2006-02-19 18:32:27 +0000
commit5d3e7ccfcaa22ac9cfab4e0f60a91d548ef14212 (patch)
tree918d471e8ad116c7282aea616a428c257ebe3056 /textproc
parent3fbea7c386da998165ad5944022430c70dc4031a (diff)
downloadpkgsrc-5d3e7ccfcaa22ac9cfab4e0f60a91d548ef14212.tar.gz
made sure -lgen is added when linking on IRIX 5. Required to use dirname().
Diffstat (limited to 'textproc')
-rw-r--r--textproc/opensp/hacks.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/textproc/opensp/hacks.mk b/textproc/opensp/hacks.mk
new file mode 100644
index 00000000000..d5f29ac7577
--- /dev/null
+++ b/textproc/opensp/hacks.mk
@@ -0,0 +1,14 @@
+# $NetBSD: hacks.mk,v 1.1 2006/02/19 18:32:27 schwarz Exp $
+
+.if !defined(OPENSP_HACKS_MK)
+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*)
+PKG_HACKS+= add-lgen
+LIBS+= -lgen
+.endif
+
+.endif