From 4d1371e9bef512d88b261a8d5730418725e7db91 Mon Sep 17 00:00:00 2001 From: tnn Date: Sun, 5 Aug 2007 08:47:57 +0000 Subject: OSF1 needs getopt_long like IRIX. Add another PLIST conditional for OSF1. --- textproc/groff/Makefile | 10 ++++++++-- textproc/groff/PLIST | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'textproc') diff --git a/textproc/groff/Makefile b/textproc/groff/Makefile index 11d97ce617f..164dc611a58 100644 --- a/textproc/groff/Makefile +++ b/textproc/groff/Makefile @@ -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="g" 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 --git a/textproc/groff/PLIST b/textproc/groff/PLIST index 6bf5be03047..7ad0415c687 100644 --- a/textproc/groff/PLIST +++ b/textproc/groff/PLIST @@ -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/X.tmac 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 -- cgit v1.2.3