pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/groff OSF1 needs getopt_long like IRIX. Add a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2dbf91c77413
branches:  trunk
changeset: 531715:2dbf91c77413
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Aug 05 08:47:57 2007 +0000

description:
OSF1 needs getopt_long like IRIX. Add another PLIST conditional for OSF1.

diffstat:

 textproc/groff/Makefile |  10 ++++++++--
 textproc/groff/PLIST    |   4 ++--
 2 files changed, 10 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r d471842b5bd4 -r 2dbf91c77413 textproc/groff/Makefile
--- a/textproc/groff/Makefile   Sun Aug 05 08:39:56 2007 +0000
+++ b/textproc/groff/Makefile   Sun Aug 05 08:47:57 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2007/08/01 22:33:03 joerg Exp $
+# $NetBSD: Makefile,v 1.45 2007/08/05 08:47:57 tnn Exp $
 #
 
 DISTNAME=      groff-1.19.2
@@ -43,7 +43,13 @@
 PLIST_SUBST+=  GNU_PREFIX_TMAC=""
 .endif
 
-.if ${OPSYS} == "IRIX"
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "HPUX" || ${OPSYS} == "OSF1"
+PLIST_SUBST+=  GNU_PREFIX_AN_TMAC="g"
+.else
+PLIST_SUBST+=  GNU_PREFIX_AN_TMAC=""
+.endif
+
+.if ${OPSYS} == "IRIX" || ${OPSYS} == "OSF1"
 # needs getopt_long()
 . include "../../pkgtools/libnbcompat/buildlink3.mk"
 .endif
diff -r d471842b5bd4 -r 2dbf91c77413 textproc/groff/PLIST
--- a/textproc/groff/PLIST      Sun Aug 05 08:39:56 2007 +0000
+++ b/textproc/groff/PLIST      Sun Aug 05 08:47:57 2007 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2007/07/20 01:05:11 tnn Exp $
+@comment $NetBSD: PLIST,v 1.14 2007/08/05 08:47:57 tnn Exp $
 bin/addftinfo
 bin/afmtodit
 bin/${GNU_PREFIX}eqn
@@ -332,7 +332,7 @@
 share/groff/${PKGVERSION}/tmac/Xps.tmac
 share/groff/${PKGVERSION}/tmac/a4.tmac
 share/groff/${PKGVERSION}/tmac/an-old.tmac
-share/groff/${PKGVERSION}/tmac/${GNU_PREFIX_TMAC}an.tmac
+share/groff/${PKGVERSION}/tmac/${GNU_PREFIX_AN_TMAC}an.tmac
 share/groff/${PKGVERSION}/tmac/andoc.tmac
 share/groff/${PKGVERSION}/tmac/composite.tmac
 share/groff/${PKGVERSION}/tmac/cp1047.tmac



Home | Main Index | Thread Index | Old Index