diff options
author | tnn <tnn@pkgsrc.org> | 2008-05-21 12:30:16 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-05-21 12:30:16 +0000 |
commit | 9a01643e927b55bf527f2733752c94bdace4bec3 (patch) | |
tree | 6af7699c5690ac52aa1c96d680235588360575e5 /devel/gtexinfo | |
parent | 5c5e97b365a7613d27597a69636a1b67e51d7752 (diff) | |
download | pkgsrc-9a01643e927b55bf527f2733752c94bdace4bec3.tar.gz |
Don't use a macro named __(), because __ has internal use in OSF1 system
headers. Supposedly fixed already in upstream CVS.
This closes PR pkg/38400 from Hans Rosenfeld.
Diffstat (limited to 'devel/gtexinfo')
-rw-r--r-- | devel/gtexinfo/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/gtexinfo/Makefile b/devel/gtexinfo/Makefile index 3584a0a48b2..a96b5723fd1 100644 --- a/devel/gtexinfo/Makefile +++ b/devel/gtexinfo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.70 2008/03/05 22:26:46 jlam Exp $ +# $NetBSD: Makefile,v 1.71 2008/05/21 12:30:16 tnn Exp $ DISTNAME= texinfo-4.11 PKGNAME= g${DISTNAME} @@ -36,6 +36,13 @@ PLIST_SRC+= ${PKGDIR}/PLIST.locale CONFIGURE_ARGS+= --disable-nls .endif +SUBST_CLASSES+= macro +SUBST_STAGE.macro= pre-configure +SUBST_MESSAGE.macro= Replacing use of __ macro. +SUBST_FILES.macro= makeinfo/*.c makeinfo/makeinfo.h +SUBST_SED.macro= -e 's,\#define __(s) getdocumenttext(s),,' +SUBST_SED.macro+= -e 's,__(",getdocumenttext(",g' + .include "../../mk/termcap.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |