-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update devel/libtool and devel/libltdl to version 2.4.2.418
- Patch libtool so it uses the same library version specification as on Darwin, Linux and other systems. Given the version current:revision:age a library will be given the extension .so.major.age.revision with major equal to current-age. Before libtool would use .so.current on FreeBSD. - Patch libtoolize to remove two cases of umask 0 that caused libltdl files to be copied world writable (--ltdl option) - Let USES=libtool patch this new version correctly - Adjust all ports with USES=libtool:build and bump PORTREVISION on their dependent ports if a library version changed PR: 194068 Exp-run by: antoine Approved by: portmgr (antoine)
- Loading branch information
1 parent
b304305
commit 8808f90
Showing
50 changed files
with
280 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,30 @@ | ||
# Created by: Motoyuki Kasahara <[email protected]> | ||
# $FreeBSD$ | ||
|
||
PORTNAME?= libtool | ||
PORTVERSION= 2.4.2 | ||
PORTREVISION= 3 | ||
CATEGORIES= devel | ||
MASTER_SITES= ${MASTER_SITE_GNU} | ||
MASTER_SITE_SUBDIR= libtool | ||
DISTNAME= libtool-${PORTVERSION} | ||
PORTNAME= libtool | ||
PORTREVISION= 0 | ||
|
||
MAINTAINER= [email protected] | ||
COMMENT?= Generic shared library support script | ||
COMMENT= Generic shared library support script | ||
|
||
LICENSE?= GPLv2 | ||
.include "${.CURDIR}/../libtool/Makefile.common" | ||
|
||
CONFLICTS= libtool-fixed-[0-9]* | ||
LICENSE= GPLv2 | ||
LICENSE_FILE= ${WRKSRC}/COPYING | ||
|
||
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 | ||
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4 | ||
|
||
USES+= makeinfo | ||
GNU_CONFIGURE= yes | ||
CONFIGURE_ARGS?= --disable-ltdl-install | ||
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" | ||
INFO?= libtool | ||
CONFIGURE_ARGS= --disable-ltdl-install | ||
MAKE_ARGS= MAKEINFOFLAGS=--no-split | ||
USES+= makeinfo | ||
|
||
post-extract: | ||
@${RM} -f ${WRKSRC}/doc/*.info* | ||
INFO= libtool | ||
|
||
post-patch: | ||
@${REINPLACE_CMD} -e 's|sed gsed|sed|g' \ | ||
-e 's|CC=cc|CC=${CC}|g' \ | ||
${WRKSRC}/configure ${WRKSRC}/libltdl/configure | ||
|
||
post-configure: | ||
@${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} -f | ||
@${RM} -f ${WRKSRC}/doc/*.info* | ||
.for f in build-aux/ltmain.sh configure libtoolize.in m4/libtool.m4 | ||
@${TOUCH} -mr ${WRKSRC}/${f}.orig ${WRKSRC}/${f} | ||
.endfor | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# $FreeBSD$ | ||
|
||
PORTVERSION= 2.4.2.418 | ||
PORTREVISION?= 0 # Leave this zero. Set in Makefile instead. | ||
CATEGORIES= devel | ||
MASTER_SITES= GNU_ALPHA/libtool | ||
DISTNAME= libtool-${PORTVERSION} | ||
|
||
MAINTAINER= [email protected] | ||
|
||
DISTINFO_FILE= ${.CURDIR}/../libtool/distinfo | ||
USES= tar:xz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
SHA256 (libtool-2.4.2.tar.gz) = b38de44862a987293cd3d8dfae1c409d514b6c4e794ebc93648febf9afc38918 | ||
SIZE (libtool-2.4.2.tar.gz) = 2632347 | ||
SHA256 (libtool-2.4.2.418.tar.xz) = 6465c7e6ebb7c9083aa610d510498aadf7be0c6dc5f2f4e57008686879d27d8c | ||
SIZE (libtool-2.4.2.418.tar.xz) = 941808 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- build-aux/ltmain.sh.orig 2013-10-26 22:53:58 UTC | ||
+++ build-aux/ltmain.sh | ||
@@ -8598,13 +8598,13 @@ func_mode_link () | ||
# | ||
case $version_type in | ||
# correct linux to gnu/linux during the next big refactor | ||
- darwin|linux|osf|windows|none) | ||
+ darwin|freebsd-elf|linux|osf|windows|none) | ||
func_arith $number_major + $number_minor | ||
current=$func_arith_result | ||
age=$number_minor | ||
revision=$number_revision | ||
;; | ||
- freebsd-aout|freebsd-elf|qnx|sunos) | ||
+ freebsd-aout|qnx|sunos) | ||
current=$number_major | ||
revision=$number_minor | ||
age=0 | ||
@@ -8690,8 +8690,9 @@ func_mode_link () | ||
;; | ||
|
||
freebsd-elf) | ||
- major=.$current | ||
- versuffix=.$current | ||
+ func_arith $current - $age | ||
+ major=.$func_arith_result | ||
+ versuffix=$major.$age.$revision | ||
;; | ||
|
||
irix | nonstopux) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- configure.orig 2013-10-26 22:53:35 UTC | ||
+++ configure | ||
@@ -11582,7 +11582,8 @@ freebsd* | dragonfly*) | ||
version_type=freebsd-$objformat | ||
case $version_type in | ||
freebsd-elf*) | ||
- library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' | ||
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' | ||
+ soname_spec='$libname$release$shared_ext$major' | ||
need_version=no | ||
need_lib_prefix=no | ||
;; | ||
@@ -16739,7 +16740,8 @@ freebsd* | dragonfly*) | ||
version_type=freebsd-$objformat | ||
case $version_type in | ||
freebsd-elf*) | ||
- library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' | ||
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' | ||
+ soname_spec='$libname$release$shared_ext$major' | ||
need_version=no | ||
need_lib_prefix=no | ||
;; | ||
@@ -19695,7 +19697,8 @@ freebsd* | dragonfly*) | ||
version_type=freebsd-$objformat | ||
case $version_type in | ||
freebsd-elf*) | ||
- library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' | ||
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' | ||
+ soname_spec='$libname$release$shared_ext$major' | ||
need_version=no | ||
need_lib_prefix=no | ||
;; | ||
@@ -22786,7 +22789,8 @@ freebsd* | dragonfly*) | ||
version_type=freebsd-$objformat | ||
case $version_type in | ||
freebsd-elf*) | ||
- library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' | ||
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' | ||
+ soname_spec='$libname$release$shared_ext$major' | ||
need_version=no | ||
need_lib_prefix=no | ||
;; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.