diff options
author | frueauf <frueauf@pkgsrc.org> | 1998-05-07 07:42:55 +0000 |
---|---|---|
committer | frueauf <frueauf@pkgsrc.org> | 1998-05-07 07:42:55 +0000 |
commit | ea341a0e014bf990dc3538b1f655c58b23b563e8 (patch) | |
tree | 78e7534f34b2a6544a5123f8e349d511935164f1 /devel | |
parent | 784e26fa38153cc3a04684187cc6e0ec5cd6e98d (diff) | |
download | pkgsrc-ea341a0e014bf990dc3538b1f655c58b23b563e8.tar.gz |
Add {PREFIX,X11BASE,LOCALBASE}/info to the default INFOPATH, fixes pr 5319.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/gtexinfo/Makefile | 22 | ||||
-rw-r--r-- | devel/gtexinfo/patches/patch-ac | 6 |
2 files changed, 18 insertions, 10 deletions
diff --git a/devel/gtexinfo/Makefile b/devel/gtexinfo/Makefile index e339776a379..87e6f5e5e84 100644 --- a/devel/gtexinfo/Makefile +++ b/devel/gtexinfo/Makefile @@ -1,16 +1,24 @@ -# $NetBSD: Makefile,v 1.6 1998/04/15 10:38:20 agc Exp $ +# $NetBSD: Makefile,v 1.7 1998/05/07 07:42:55 frueauf Exp $ # -DISTNAME= texinfo-3.12 -PKGNAME= gtexinfo-3.12 -CATEGORIES= devel -MASTER_SITES= ${MASTER_SITE_GNU} +DISTNAME= texinfo-3.12 +PKGNAME= gtexinfo-3.12 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_GNU} -MAINTAINER= lamj@stat.cmu.edu +MAINTAINER= packages@netbsd.org -GNU_CONFIGURE= yes +GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-catgets +pre-build: + ${MV} ${WRKSRC}/info/filesys.h ${WRKSRC}/info/filesys.h.bak + ${CAT} ${WRKSRC}/info/filesys.h.bak | \ + ${SED} s/@PREFIX@/${PREFIX:S/\//\\\\\//g}/g | \ + ${SED} s/@X11BASE@/${X11BASE:S/\//\\\\\//g}/g | \ + ${SED} s/@LOCALBASE@/${LOCALBASE:S/\//\\\\\//g}/g \ + > ${WRKSRC}/info/filesys.h + post-install: ${PREFIX}/bin/install-info --info-dir=${PREFIX}/info ${PREFIX}/info/texinfo ${PREFIX}/bin/install-info --info-dir=${PREFIX}/info ${PREFIX}/info/info.info diff --git a/devel/gtexinfo/patches/patch-ac b/devel/gtexinfo/patches/patch-ac index e1382cb533c..02ca4db08b6 100644 --- a/devel/gtexinfo/patches/patch-ac +++ b/devel/gtexinfo/patches/patch-ac @@ -1,11 +1,11 @@ ---- info/filesys.h.orig Mon Mar 9 08:43:52 1998 -+++ info/filesys.h Mon Mar 9 08:44:32 1998 +--- info/filesys.h.orig Mon Aug 4 22:21:35 1997 ++++ info/filesys.h Wed May 6 23:00:23 1998 @@ -71,7 +71,7 @@ /* The default value of INFOPATH. */ #if !defined (DEFAULT_INFOPATH) -# define DEFAULT_INFOPATH "/usr/local/info:/usr/info:/usr/local/lib/info:/usr/lib/info:/usr/local/gnu/info:/usr/local/gnu/lib/info:/usr/gnu/info:/usr/gnu/lib/info:/opt/gnu/info:/usr/share/info:/usr/share/lib/info:/usr/local/share/info:/usr/local/share/lib/info:/usr/gnu/lib/emacs/info:/usr/local/gnu/lib/emacs/info:/usr/local/lib/emacs/info:/usr/local/emacs/info:." -+# define DEFAULT_INFOPATH PORTSINFODIR ":" "/usr/local/info:/usr/info:/usr/local/lib/info:/usr/lib/info:/usr/local/gnu/info:/usr/local/gnu/lib/info:/usr/gnu/info:/usr/gnu/lib/info:/opt/gnu/info:/usr/share/info:/usr/share/lib/info:/usr/local/share/info:/usr/local/share/lib/info:/usr/gnu/lib/emacs/info:/usr/local/gnu/lib/emacs/info:/usr/local/lib/emacs/info:/usr/local/emacs/info:." ++# define DEFAULT_INFOPATH "@PREFIX@/info:@X11BASE@/info:@LOCALBASE@/info:/usr/local/info:/usr/info:/usr/local/lib/info:/usr/lib/info:/usr/local/gnu/info:/usr/local/gnu/lib/info:/usr/gnu/info:/usr/gnu/lib/info:/opt/gnu/info:/usr/share/info:/usr/share/lib/info:/usr/local/share/info:/usr/local/share/lib/info:/usr/gnu/lib/emacs/info:/usr/local/gnu/lib/emacs/info:/usr/local/lib/emacs/info:/usr/local/emacs/info:." #endif /* !DEFAULT_INFOPATH */ #if !defined (S_ISREG) && defined (S_IFREG) |