FreeBSD Bugzilla – Attachment 32137 Details for
Bug 53236
[PATCH] to devel/autoconf257
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
autoconf257-1.diff
autoconf257-1.diff (text/plain), 4.62 KB, created by
Rui Lopes
on 2003-06-12 03:20:05 UTC
(
hide
)
Description:
autoconf257-1.diff
Filename:
MIME Type:
Creator:
Rui Lopes
Created:
2003-06-12 03:20:05 UTC
Size:
4.62 KB
patch
obsolete
>diff -ruN autoconf257.orig/Makefile autoconf257/Makefile >--- autoconf257.orig/Makefile Sun Jun 1 20:31:04 2003 >+++ autoconf257/Makefile Sun Jun 1 21:15:18 2003 >@@ -20,16 +20,20 @@ > help2man:${PORTSDIR}/misc/help2man > RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4 > >-BROKEN= Work is in progress right now. >- > USE_BZIP2= yes > USE_GMAKE= yes > USE_PERL5= yes >+USE_REINPLACE= yes >+MAN1_PAGES= autoconf autom4te autoscan config.guess ifnames autoheader \ >+ autoreconf autoupdate config.sub >+MAN1= ${MAN1_PAGES:S/$/${PROGRAM_SUFFIX}.1/g} > >+PROGRAM_SUFFIX= 257 > GNU_CONFIGURE= yes > CONFIGURE_ENV+= CONFIG_SHELL=${SH} > CONFIGURE_ENV+= M4=${LOCALBASE}/bin/gm4 >-CONFIGURE_ARGS= --program-suffix=257 >+CONFIGURE_ARGS= --program-suffix=${PROGRAM_SUFFIX} >+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} > > .if ${PORTNAME} == "autoconf" > .if exists(${LOCALBASE}/bin/emacs) >@@ -59,12 +63,23 @@ > @${FALSE} > .endif # defined(USE_AUTOCONF) || defined(USE_AUTOCONF_VER) > >+post-patch: >+ @(cd ${WRKSRC} && ${REINPLACE_CMD} -E 's,(PACKAGE=autoconf),\1${PROGRAM_SUFFIX},' configure) >+ @(cd ${WRKSRC}/man && \ >+ for file in *.[1x]; do \ >+ ${REINPLACE_CMD} -E 's,([^-]auto)(conf|make|reconf|update|header|scan),\1\2${PROGRAM_SUFFIX},g ; \ >+ s,(config\.guess|config\.sub|ifnames),\1${PROGRAM_SUFFIX},g' $$file ; \ >+ done) >+ @(cd ${WRKSRC}/doc && \ >+ ${RM} -f *.info && \ >+ ${MV} autoconf.texi autoconf${PROGRAM_SUFFIX}.texi && \ >+ ${MV} standards.texi standards${PROGRAM_SUFFIX}.texi && \ >+ ${REINPLACE_CMD} -E 's,(autoconf)\),\1${PROGRAM_SUFFIX}\),g' autoconf${PROGRAM_SUFFIX}.texi && \ >+ ${REINPLACE_CMD} -E 's,(autoconf|standards)\.(info|texi),\1${PROGRAM_SUFFIX}\.\2,g' Makefile.in) >+ > post-install: >- ${MKDIR} ${PREFIX}/share/autoconf257 > .for FILE in ${GENERIC_TOOLS} >- ${INSTALL_SCRIPT} ${WRKSRC}/config/${FILE} ${PREFIX}/share/autoconf257 >+ ${INSTALL_SCRIPT} ${WRKSRC}/config/${FILE} ${PREFIX}/share/autoconf${PROGRAM_SUFFIX} > .endfor > >-.include <bsd.port.pre.mk> >-#.include "${FILESDIR}/manpages.mk" >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >diff -ruN autoconf257.orig/files/patch-autoconf.texi autoconf257/files/patch-autoconf.texi >--- autoconf257.orig/files/patch-autoconf.texi Thu Jan 1 01:00:00 1970 >+++ autoconf257/files/patch-autoconf.texi Sun Jun 1 21:17:59 2003 >@@ -0,0 +1,23 @@ >+--- doc/autoconf.texi.orig Tue Dec 3 07:16:32 2002 >++++ doc/autoconf.texi Sun Jun 1 19:17:51 2003 >+@@ -1,9 +1,9 @@ >+ \input texinfo @c -*-texinfo-*- >+ @comment ======================================================== >+ @comment %**start of header >+-@setfilename autoconf.info >++@setfilename autoconf257.info >+ @include version.texi >+-@settitle Autoconf >++@settitle Autoconf257 >+ @setchapternewpage odd >+ @setcontentsaftertitlepage >+ @finalout >+@@ -97,7 +97,7 @@ >+ >+ @dircategory GNU programming tools >+ @direntry >+-* Autoconf: (autoconf). Create source code configuration scripts >++* Autoconf257: (autoconf257). Create source code configuration scripts >+ @end direntry >+ >+ @dircategory Individual utilities >diff -ruN autoconf257.orig/files/patch-standards.texi autoconf257/files/patch-standards.texi >--- autoconf257.orig/files/patch-standards.texi Thu Jan 1 01:00:00 1970 >+++ autoconf257/files/patch-standards.texi Sun Jun 1 20:32:47 2003 >@@ -0,0 +1,19 @@ >+--- doc/standards.texi.orig Sun Jun 1 18:52:56 2003 >++++ doc/standards.texi Sun Jun 1 18:54:00 2003 >+@@ -1,6 +1,6 @@ >+ \input texinfo @c -*-texinfo-*- >+ @c %**start of header >+-@setfilename standards.info >++@setfilename standards257.info >+ @settitle GNU Coding Standards >+ @c This date is automagically updated when you save this file: >+ @set lastupdate November 23, 2002 >+@@ -8,7 +8,7 @@ >+ >+ @dircategory GNU organization >+ @direntry >+-* Standards: (standards). GNU coding standards. >++* Standards257: (standards257). GNU coding standards. >+ @end direntry >+ >+ @c @setchapternewpage odd >diff -ruN autoconf257.orig/pkg-plist autoconf257/pkg-plist >--- autoconf257.orig/pkg-plist Sun Jun 1 20:31:04 2003 >+++ autoconf257/pkg-plist Sun Jun 1 20:33:17 2003 >@@ -5,9 +5,12 @@ > bin/autoscan257 > bin/autoupdate257 > bin/ifnames257 >-info/autoconf.info >-info/dir >-info/standards.info >+@unexec install-info --delete %D/info/autoconf257.info %D/info/dir >+@unexec install-info --delete %D/info/standards257.info %D/info/dir >+info/autoconf257.info >+info/standards257.info >+@exec install-info %D/info/autoconf257.info %D/info/dir >+@exec install-info %D/info/standards257.info %D/info/dir > share/autoconf257/Autom4te/General.pm > share/autoconf257/Autom4te/Struct.pm > share/autoconf257/Autom4te/XFile.pm >@@ -53,4 +56,3 @@ > @dirrm share/autoconf257/autoconf > @dirrm share/autoconf257/Autom4te > @dirrm share/autoconf257 >-@dirrm info
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 53236
: 32137