pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/opensp made sure -lgen is added when linking ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f1690a15e17e
branches:  trunk
changeset: 508466:f1690a15e17e
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Sun Feb 19 18:32:27 2006 +0000

description:
made sure -lgen is added when linking on IRIX 5. Required to use dirname().

diffstat:

 textproc/opensp/hacks.mk |  14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diffs (18 lines):

diff -r 5d03ff3b164e -r f1690a15e17e textproc/opensp/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/opensp/hacks.mk  Sun Feb 19 18:32:27 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index