aboutsummaryrefslogtreecommitdiff
path: root/devel/libtool13
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2003-07-02 18:27:41 +0000
committerAde Lovett <ade@FreeBSD.org>2003-07-02 18:27:41 +0000
commitcb51380f0957170d0b6ea9ddc8ebc3b31889ab88 (patch)
tree19672990c86dfe89d040cc8e1775f7783e61c713 /devel/libtool13
parentaba51095cc77e2ae5dd655d80528e86562ee0439 (diff)
downloadports-cb51380f0957170d0b6ea9ddc8ebc3b31889ab88.tar.gz
ports-cb51380f0957170d0b6ea9ddc8ebc3b31889ab88.zip
Notes
Diffstat (limited to 'devel/libtool13')
-rw-r--r--devel/libtool13/Makefile13
-rw-r--r--devel/libtool13/files/patch-aa27
2 files changed, 17 insertions, 23 deletions
diff --git a/devel/libtool13/Makefile b/devel/libtool13/Makefile
index 6b7d64ca69c8..6408b5d5ffb8 100644
--- a/devel/libtool13/Makefile
+++ b/devel/libtool13/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libtool
PORTVERSION= 1.3.5
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= libtool
@@ -22,6 +23,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-ltdl-install \
--program-suffix=${BUILD_VERSION}
CONFIGURE_ENV= PREFIX=${PREFIX} PACKAGE=libtool${BUILD_VERSION}
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_REINPLACE= yes
.if defined(USE_LIBTOOL) || defined(USE_LIBTOOL_VER)
@@ -34,12 +36,13 @@ pre-everything:
@${FALSE}
.endif # defined(USE_LIBTOOL) || defined(USE_LIBTOOL_VER)
-post-extract:
+post-patch:
+ @(cd ${WRKSRC}/doc && \
+ ${RM} -f *.info* && \
+ ${MV} libtool.texi libtool${BUILD_VERSION}.texi && \
+ ${REINPLACE_CMD} -E 's,(libtool|libtoolize)\),\1${BUILDVERSION}\),g' libtool${BUILD_VERSION}.texi)
@${MV} -f ${WRKSRC}/libtool.m4 ${WRKSRC}/libtool${BUILD_VERSION}.m4
- @${REINPLACE_CMD} -e 's|libtool.m4|libtool${BUILD_VERSION}.m4|g' \
- ${WRKSRC}/Makefile.in
- @${MV} -f ${WRKSRC}/doc/libtool.info ${WRKSRC}/doc/libtool${BUILD_VERSION}.info
- @${MV} -f ${WRKSRC}/doc/libtool.texi ${WRKSRC}/doc/libtool${BUILD_VERSION}.texi
+ @${REINPLACE_CMD} -e 's|libtool.m4|libtool${BUILD_VERSION}.m4|g' ${WRKSRC}/Makefile.in
post-install:
@-${RM} -fr ${PREFIX}/libexec/libtool${BUILD_VERSION}
diff --git a/devel/libtool13/files/patch-aa b/devel/libtool13/files/patch-aa
index 95c4f56b1de3..a9f85b6070ab 100644
--- a/devel/libtool13/files/patch-aa
+++ b/devel/libtool13/files/patch-aa
@@ -1,28 +1,19 @@
---- doc/libtool13.texi.orig Tue Nov 2 07:36:23 1999
-+++ doc/libtool13.texi Sat Dec 14 00:11:27 2002
-@@ -1,6 +1,6 @@
- \input texinfo @c -*-texinfo-*-
+--- doc/libtool.texi.orig Tue Nov 2 12:36:23 1999
++++ doc/libtool.texi Wed Jul 2 18:18:37 2003
+@@ -2,4 +2,4 @@
@c %**start of header
-@setfilename libtool.info
+-@settitle Libtool
+@setfilename libtool13.info
- @settitle Libtool
++@settitle Libtool13
@c For double-sided printing, uncomment:
- @c @setchapternewpage odd
-@@ -11,14 +11,14 @@
- @set MAILLIST the libtool mailing list @email{libtool@@gnu.org}
- @set objdir .libs
-
--@dircategory GNU programming tools
-+@dircategory Programming & development tools
+@@ -15,3 +15,3 @@
@direntry
-* Libtool: (libtool). Generic shared library support script.
-+* Libtool: (libtool13). Generic shared library support script.
++* Libtool13: (libtool13). Generic shared library support script.
@end direntry
-
- @dircategory Individual utilities
+@@ -20,3 +20,3 @@
@direntry
-* libtoolize: (libtool)Invoking libtoolize. Adding libtool support.
-+* libtoolize: (libtool13)Invoking libtoolize. Adding libtool support.
++* libtoolize13: (libtool13)Invoking libtoolize. Adding libtool support.
@end direntry
-
- @ifinfo