| Summary: | [patch] automake16 doesn't build because of autoconf261 | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Benno <bennovandenberg> |
| Component: | Individual Port(s) | Assignee: | Ade Lovett <ade> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports-bugs->ade It has been fixed by ade@, thx. :) State Changed From-To: open->closed Update autoconf261 to the _2 PORTREVISION, and things will be happy. |
When trying to build automake16 it will build autoconf261 if its not installed. After its installed it will give the following error: 'configure: error: Autoconf 2.52 or better is required' When building autoconf261 it doesn't add a '-' to the suffix (like autoconf259 or autoconf253 do). So it installs the executables as *2.61 instead of *-2.61 (ex: autoconf2.61 instead of autoconf-2.61) Also some help files and uninstall scripts don't work because of this. Fix: PORTNAME= autoconf PORTVERSION= 2.61 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= autoconf @@ -31,7 +31,7 @@ GNU_CONFIGURE= yes CONFIGURE_ENV+= CONFIG_SHELL=${SH} M4=${LOCALBASE}/bin/gm4 -CONFIGURE_ARGS= --program-suffix=${BUILD_VERSION} --without-lispdir +CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION} --without-lispdir CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} GENERIC_TOOLS= config.guess config.sub elisp-comp install-sh mdate-sh missing @@ -42,11 +42,11 @@ MAN1= ${MAN1_PAGES:S/$/-${BUILD_VERSION}.1/g} post-patch: - @(cd ${WRKSRC} && ${REINPLACE_CMD} -E 's,(PACKAGE=autoconf),\1${BUILD_VERSION},' configure) + @(cd ${WRKSRC} && ${REINPLACE_CMD} -E 's,(PACKAGE=autoconf),\1-${BUILD_VERSION},' configure) @(cd ${WRKSRC}/man && \ for file in *.[1x]; do \ - ${REINPLACE_CMD} -E 's,([^-]auto)(conf|make|reconf|update|header|scan),\1\2${BUILD_VERSION},g ; \ - s,(config\.guess|config\.sub|ifnames),\1${BUILD_VERSION},g' $$file ; \ + ${REINPLACE_CMD} -E 's,([^-]auto)(conf|make|reconf|update|header|scan),\1\2-${BUILD_VERSION},g ; \ + s,(config\.guess|config\.sub|ifnames),\1-${BUILD_VERSION},g' $$file ; \ done) @(cd ${WRKSRC}/doc && \ ${RM} -f *.info && \--GhSAkjBUZG0VfHf6xt4zI5Krn7vSxUtuQ6tjIbSzNGQ9T6WN Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- Makefile.old Sat Jul 28 12:06:12 2007 +++ Makefile Sat Jul 28 12:06:55 2007 @@ -7,7 +7,7 @@ How-To-Repeat: Uninstall any autoconf and/or automake packages cd /usr/ports/devel/automake16/ make install clean