1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

1. Fixed bug in autoscan. Thanks to Joe Marcus Clarke <marcus@marcuscom.com>

who worked with me and beyond to track this down.
2. Support the emacs autoconf/autotest modes now, for both emacs21 and
xemacs21. Other (x)emacsen may work, depends on where they put things.
This commit is contained in:
Alan Eldridge 2002-09-16 10:28:33 +00:00
parent 1b17431da4
commit ab2da640e4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66432
33 changed files with 363 additions and 22 deletions

View File

@ -7,20 +7,29 @@
PORTNAME= autoconf
PORTVERSION= 2.53
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= autoconf
MAINTAINER= ports@geeksrus.net
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
help2man:${PORTSDIR}/misc/help2man
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4
CONFIGURE_ARGS= --without-lispdir
.if exists(${LOCALBASE}/bin/emacs)
PLIST_SUB+= EMACS="" EMACSDIR=share/emacs
.elif exists(${LOCALBASE}/bin/xemacs)
PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs
.else
PLIST_SUB+= EMACS="@comment " EMACSDIR=""
.endif
GENERIC_TOOLS= config.guess \
config.sub \

View File

@ -0,0 +1,15 @@
--- bin/autoscan.in.orig Fri Mar 8 06:52:41 2002
+++ bin/autoscan.in Mon Sep 16 03:56:50 2002
@@ -192,7 +192,11 @@
sub used ($$;$)
{
my ($kind, $word, $where) = @_;
- $where ||= "$File::Find::name:$.";
+ my $lineno = 0;
+ if (defined($.)) {
+ $lineno = $.;
+ }
+ $where ||= "$File::Find::name:$lineno";
push (@{$used{$kind}{$word}}, $where);
}

View File

@ -48,6 +48,13 @@ share/autoconf/m4sugar/version.m4
share/autoconf/mdate-sh
share/autoconf/missing
share/autoconf/mkinstalldirs
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.elc
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.elc
@comment directories
%%EMACS%%@dirrm %%EMACSDIR%%/site-lisp
%%EMACS%%@dirrm %%EMACSDIR%%
@dirrm share/autoconf/m4sugar
@dirrm share/autoconf/autotest
@dirrm share/autoconf/autoscan

View File

@ -7,20 +7,29 @@
PORTNAME= autoconf
PORTVERSION= 2.53
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= autoconf
MAINTAINER= ports@geeksrus.net
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
help2man:${PORTSDIR}/misc/help2man
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4
CONFIGURE_ARGS= --without-lispdir
.if exists(${LOCALBASE}/bin/emacs)
PLIST_SUB+= EMACS="" EMACSDIR=share/emacs
.elif exists(${LOCALBASE}/bin/xemacs)
PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs
.else
PLIST_SUB+= EMACS="@comment " EMACSDIR=""
.endif
GENERIC_TOOLS= config.guess \
config.sub \

View File

@ -0,0 +1,15 @@
--- bin/autoscan.in.orig Fri Mar 8 06:52:41 2002
+++ bin/autoscan.in Mon Sep 16 03:56:50 2002
@@ -192,7 +192,11 @@
sub used ($$;$)
{
my ($kind, $word, $where) = @_;
- $where ||= "$File::Find::name:$.";
+ my $lineno = 0;
+ if (defined($.)) {
+ $lineno = $.;
+ }
+ $where ||= "$File::Find::name:$lineno";
push (@{$used{$kind}{$word}}, $where);
}

View File

@ -48,6 +48,13 @@ share/autoconf/m4sugar/version.m4
share/autoconf/mdate-sh
share/autoconf/missing
share/autoconf/mkinstalldirs
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.elc
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.elc
@comment directories
%%EMACS%%@dirrm %%EMACSDIR%%/site-lisp
%%EMACS%%@dirrm %%EMACSDIR%%
@dirrm share/autoconf/m4sugar
@dirrm share/autoconf/autotest
@dirrm share/autoconf/autoscan

View File

@ -7,20 +7,29 @@
PORTNAME= autoconf
PORTVERSION= 2.53
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= autoconf
MAINTAINER= ports@geeksrus.net
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
help2man:${PORTSDIR}/misc/help2man
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4
CONFIGURE_ARGS= --without-lispdir
.if exists(${LOCALBASE}/bin/emacs)
PLIST_SUB+= EMACS="" EMACSDIR=share/emacs
.elif exists(${LOCALBASE}/bin/xemacs)
PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs
.else
PLIST_SUB+= EMACS="@comment " EMACSDIR=""
.endif
GENERIC_TOOLS= config.guess \
config.sub \

View File

@ -0,0 +1,15 @@
--- bin/autoscan.in.orig Fri Mar 8 06:52:41 2002
+++ bin/autoscan.in Mon Sep 16 03:56:50 2002
@@ -192,7 +192,11 @@
sub used ($$;$)
{
my ($kind, $word, $where) = @_;
- $where ||= "$File::Find::name:$.";
+ my $lineno = 0;
+ if (defined($.)) {
+ $lineno = $.;
+ }
+ $where ||= "$File::Find::name:$lineno";
push (@{$used{$kind}{$word}}, $where);
}

View File

@ -48,6 +48,13 @@ share/autoconf/m4sugar/version.m4
share/autoconf/mdate-sh
share/autoconf/missing
share/autoconf/mkinstalldirs
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.elc
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.elc
@comment directories
%%EMACS%%@dirrm %%EMACSDIR%%/site-lisp
%%EMACS%%@dirrm %%EMACSDIR%%
@dirrm share/autoconf/m4sugar
@dirrm share/autoconf/autotest
@dirrm share/autoconf/autoscan

View File

@ -7,20 +7,29 @@
PORTNAME= autoconf
PORTVERSION= 2.53
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= autoconf
MAINTAINER= ports@geeksrus.net
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
help2man:${PORTSDIR}/misc/help2man
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4
CONFIGURE_ARGS= --without-lispdir
.if exists(${LOCALBASE}/bin/emacs)
PLIST_SUB+= EMACS="" EMACSDIR=share/emacs
.elif exists(${LOCALBASE}/bin/xemacs)
PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs
.else
PLIST_SUB+= EMACS="@comment " EMACSDIR=""
.endif
GENERIC_TOOLS= config.guess \
config.sub \

View File

@ -0,0 +1,15 @@
--- bin/autoscan.in.orig Fri Mar 8 06:52:41 2002
+++ bin/autoscan.in Mon Sep 16 03:56:50 2002
@@ -192,7 +192,11 @@
sub used ($$;$)
{
my ($kind, $word, $where) = @_;
- $where ||= "$File::Find::name:$.";
+ my $lineno = 0;
+ if (defined($.)) {
+ $lineno = $.;
+ }
+ $where ||= "$File::Find::name:$lineno";
push (@{$used{$kind}{$word}}, $where);
}

View File

@ -48,6 +48,13 @@ share/autoconf/m4sugar/version.m4
share/autoconf/mdate-sh
share/autoconf/missing
share/autoconf/mkinstalldirs
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.elc
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.elc
@comment directories
%%EMACS%%@dirrm %%EMACSDIR%%/site-lisp
%%EMACS%%@dirrm %%EMACSDIR%%
@dirrm share/autoconf/m4sugar
@dirrm share/autoconf/autotest
@dirrm share/autoconf/autoscan

View File

@ -7,20 +7,29 @@
PORTNAME= autoconf
PORTVERSION= 2.53
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= autoconf
MAINTAINER= ports@geeksrus.net
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
help2man:${PORTSDIR}/misc/help2man
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4
CONFIGURE_ARGS= --without-lispdir
.if exists(${LOCALBASE}/bin/emacs)
PLIST_SUB+= EMACS="" EMACSDIR=share/emacs
.elif exists(${LOCALBASE}/bin/xemacs)
PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs
.else
PLIST_SUB+= EMACS="@comment " EMACSDIR=""
.endif
GENERIC_TOOLS= config.guess \
config.sub \

View File

@ -0,0 +1,15 @@
--- bin/autoscan.in.orig Fri Mar 8 06:52:41 2002
+++ bin/autoscan.in Mon Sep 16 03:56:50 2002
@@ -192,7 +192,11 @@
sub used ($$;$)
{
my ($kind, $word, $where) = @_;
- $where ||= "$File::Find::name:$.";
+ my $lineno = 0;
+ if (defined($.)) {
+ $lineno = $.;
+ }
+ $where ||= "$File::Find::name:$lineno";
push (@{$used{$kind}{$word}}, $where);
}

View File

@ -48,6 +48,13 @@ share/autoconf/m4sugar/version.m4
share/autoconf/mdate-sh
share/autoconf/missing
share/autoconf/mkinstalldirs
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.elc
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.elc
@comment directories
%%EMACS%%@dirrm %%EMACSDIR%%/site-lisp
%%EMACS%%@dirrm %%EMACSDIR%%
@dirrm share/autoconf/m4sugar
@dirrm share/autoconf/autotest
@dirrm share/autoconf/autoscan

View File

@ -7,20 +7,29 @@
PORTNAME= autoconf
PORTVERSION= 2.53
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= autoconf
MAINTAINER= ports@geeksrus.net
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
help2man:${PORTSDIR}/misc/help2man
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4
CONFIGURE_ARGS= --without-lispdir
.if exists(${LOCALBASE}/bin/emacs)
PLIST_SUB+= EMACS="" EMACSDIR=share/emacs
.elif exists(${LOCALBASE}/bin/xemacs)
PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs
.else
PLIST_SUB+= EMACS="@comment " EMACSDIR=""
.endif
GENERIC_TOOLS= config.guess \
config.sub \

View File

@ -0,0 +1,15 @@
--- bin/autoscan.in.orig Fri Mar 8 06:52:41 2002
+++ bin/autoscan.in Mon Sep 16 03:56:50 2002
@@ -192,7 +192,11 @@
sub used ($$;$)
{
my ($kind, $word, $where) = @_;
- $where ||= "$File::Find::name:$.";
+ my $lineno = 0;
+ if (defined($.)) {
+ $lineno = $.;
+ }
+ $where ||= "$File::Find::name:$lineno";
push (@{$used{$kind}{$word}}, $where);
}

View File

@ -48,6 +48,13 @@ share/autoconf/m4sugar/version.m4
share/autoconf/mdate-sh
share/autoconf/missing
share/autoconf/mkinstalldirs
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.elc
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.elc
@comment directories
%%EMACS%%@dirrm %%EMACSDIR%%/site-lisp
%%EMACS%%@dirrm %%EMACSDIR%%
@dirrm share/autoconf/m4sugar
@dirrm share/autoconf/autotest
@dirrm share/autoconf/autoscan

View File

@ -7,20 +7,29 @@
PORTNAME= autoconf
PORTVERSION= 2.53
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= autoconf
MAINTAINER= ports@geeksrus.net
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
help2man:${PORTSDIR}/misc/help2man
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4
CONFIGURE_ARGS= --without-lispdir
.if exists(${LOCALBASE}/bin/emacs)
PLIST_SUB+= EMACS="" EMACSDIR=share/emacs
.elif exists(${LOCALBASE}/bin/xemacs)
PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs
.else
PLIST_SUB+= EMACS="@comment " EMACSDIR=""
.endif
GENERIC_TOOLS= config.guess \
config.sub \

View File

@ -0,0 +1,15 @@
--- bin/autoscan.in.orig Fri Mar 8 06:52:41 2002
+++ bin/autoscan.in Mon Sep 16 03:56:50 2002
@@ -192,7 +192,11 @@
sub used ($$;$)
{
my ($kind, $word, $where) = @_;
- $where ||= "$File::Find::name:$.";
+ my $lineno = 0;
+ if (defined($.)) {
+ $lineno = $.;
+ }
+ $where ||= "$File::Find::name:$lineno";
push (@{$used{$kind}{$word}}, $where);
}

View File

@ -48,6 +48,13 @@ share/autoconf/m4sugar/version.m4
share/autoconf/mdate-sh
share/autoconf/missing
share/autoconf/mkinstalldirs
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.elc
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.elc
@comment directories
%%EMACS%%@dirrm %%EMACSDIR%%/site-lisp
%%EMACS%%@dirrm %%EMACSDIR%%
@dirrm share/autoconf/m4sugar
@dirrm share/autoconf/autotest
@dirrm share/autoconf/autoscan

View File

@ -7,20 +7,29 @@
PORTNAME= autoconf
PORTVERSION= 2.53
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= autoconf
MAINTAINER= ports@geeksrus.net
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
help2man:${PORTSDIR}/misc/help2man
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4
CONFIGURE_ARGS= --without-lispdir
.if exists(${LOCALBASE}/bin/emacs)
PLIST_SUB+= EMACS="" EMACSDIR=share/emacs
.elif exists(${LOCALBASE}/bin/xemacs)
PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs
.else
PLIST_SUB+= EMACS="@comment " EMACSDIR=""
.endif
GENERIC_TOOLS= config.guess \
config.sub \

View File

@ -0,0 +1,15 @@
--- bin/autoscan.in.orig Fri Mar 8 06:52:41 2002
+++ bin/autoscan.in Mon Sep 16 03:56:50 2002
@@ -192,7 +192,11 @@
sub used ($$;$)
{
my ($kind, $word, $where) = @_;
- $where ||= "$File::Find::name:$.";
+ my $lineno = 0;
+ if (defined($.)) {
+ $lineno = $.;
+ }
+ $where ||= "$File::Find::name:$lineno";
push (@{$used{$kind}{$word}}, $where);
}

View File

@ -48,6 +48,13 @@ share/autoconf/m4sugar/version.m4
share/autoconf/mdate-sh
share/autoconf/missing
share/autoconf/mkinstalldirs
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.elc
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.elc
@comment directories
%%EMACS%%@dirrm %%EMACSDIR%%/site-lisp
%%EMACS%%@dirrm %%EMACSDIR%%
@dirrm share/autoconf/m4sugar
@dirrm share/autoconf/autotest
@dirrm share/autoconf/autoscan

View File

@ -7,20 +7,29 @@
PORTNAME= autoconf
PORTVERSION= 2.53
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= autoconf
MAINTAINER= ports@geeksrus.net
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
help2man:${PORTSDIR}/misc/help2man
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4
CONFIGURE_ARGS= --without-lispdir
.if exists(${LOCALBASE}/bin/emacs)
PLIST_SUB+= EMACS="" EMACSDIR=share/emacs
.elif exists(${LOCALBASE}/bin/xemacs)
PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs
.else
PLIST_SUB+= EMACS="@comment " EMACSDIR=""
.endif
GENERIC_TOOLS= config.guess \
config.sub \

View File

@ -0,0 +1,15 @@
--- bin/autoscan.in.orig Fri Mar 8 06:52:41 2002
+++ bin/autoscan.in Mon Sep 16 03:56:50 2002
@@ -192,7 +192,11 @@
sub used ($$;$)
{
my ($kind, $word, $where) = @_;
- $where ||= "$File::Find::name:$.";
+ my $lineno = 0;
+ if (defined($.)) {
+ $lineno = $.;
+ }
+ $where ||= "$File::Find::name:$lineno";
push (@{$used{$kind}{$word}}, $where);
}

View File

@ -48,6 +48,13 @@ share/autoconf/m4sugar/version.m4
share/autoconf/mdate-sh
share/autoconf/missing
share/autoconf/mkinstalldirs
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.elc
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.elc
@comment directories
%%EMACS%%@dirrm %%EMACSDIR%%/site-lisp
%%EMACS%%@dirrm %%EMACSDIR%%
@dirrm share/autoconf/m4sugar
@dirrm share/autoconf/autotest
@dirrm share/autoconf/autoscan

View File

@ -7,20 +7,29 @@
PORTNAME= autoconf
PORTVERSION= 2.53
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= autoconf
MAINTAINER= ports@geeksrus.net
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
help2man:${PORTSDIR}/misc/help2man
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4
CONFIGURE_ARGS= --without-lispdir
.if exists(${LOCALBASE}/bin/emacs)
PLIST_SUB+= EMACS="" EMACSDIR=share/emacs
.elif exists(${LOCALBASE}/bin/xemacs)
PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs
.else
PLIST_SUB+= EMACS="@comment " EMACSDIR=""
.endif
GENERIC_TOOLS= config.guess \
config.sub \

View File

@ -0,0 +1,15 @@
--- bin/autoscan.in.orig Fri Mar 8 06:52:41 2002
+++ bin/autoscan.in Mon Sep 16 03:56:50 2002
@@ -192,7 +192,11 @@
sub used ($$;$)
{
my ($kind, $word, $where) = @_;
- $where ||= "$File::Find::name:$.";
+ my $lineno = 0;
+ if (defined($.)) {
+ $lineno = $.;
+ }
+ $where ||= "$File::Find::name:$lineno";
push (@{$used{$kind}{$word}}, $where);
}

View File

@ -48,6 +48,13 @@ share/autoconf/m4sugar/version.m4
share/autoconf/mdate-sh
share/autoconf/missing
share/autoconf/mkinstalldirs
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.elc
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.elc
@comment directories
%%EMACS%%@dirrm %%EMACSDIR%%/site-lisp
%%EMACS%%@dirrm %%EMACSDIR%%
@dirrm share/autoconf/m4sugar
@dirrm share/autoconf/autotest
@dirrm share/autoconf/autoscan

View File

@ -7,20 +7,29 @@
PORTNAME= autoconf
PORTVERSION= 2.53
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= autoconf
MAINTAINER= ports@geeksrus.net
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
help2man:${PORTSDIR}/misc/help2man
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4
CONFIGURE_ARGS= --without-lispdir
.if exists(${LOCALBASE}/bin/emacs)
PLIST_SUB+= EMACS="" EMACSDIR=share/emacs
.elif exists(${LOCALBASE}/bin/xemacs)
PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs
.else
PLIST_SUB+= EMACS="@comment " EMACSDIR=""
.endif
GENERIC_TOOLS= config.guess \
config.sub \

View File

@ -0,0 +1,15 @@
--- bin/autoscan.in.orig Fri Mar 8 06:52:41 2002
+++ bin/autoscan.in Mon Sep 16 03:56:50 2002
@@ -192,7 +192,11 @@
sub used ($$;$)
{
my ($kind, $word, $where) = @_;
- $where ||= "$File::Find::name:$.";
+ my $lineno = 0;
+ if (defined($.)) {
+ $lineno = $.;
+ }
+ $where ||= "$File::Find::name:$lineno";
push (@{$used{$kind}{$word}}, $where);
}

View File

@ -48,6 +48,13 @@ share/autoconf/m4sugar/version.m4
share/autoconf/mdate-sh
share/autoconf/missing
share/autoconf/mkinstalldirs
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.elc
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.el
%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.elc
@comment directories
%%EMACS%%@dirrm %%EMACSDIR%%/site-lisp
%%EMACS%%@dirrm %%EMACSDIR%%
@dirrm share/autoconf/m4sugar
@dirrm share/autoconf/autotest
@dirrm share/autoconf/autoscan