88c67cd38c
- 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)
30 lines
649 B
Makefile
30 lines
649 B
Makefile
# Created by: Motoyuki Kasahara <m-kasahr@sra.co.jp>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libtool
|
|
PORTREVISION= 0
|
|
|
|
COMMENT= Generic shared library support script
|
|
|
|
.include "${.CURDIR}/../libtool/Makefile.common"
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
|
|
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-ltdl-install
|
|
MAKE_ARGS= MAKEINFOFLAGS=--no-split
|
|
USES+= makeinfo
|
|
|
|
INFO= libtool
|
|
|
|
post-patch:
|
|
@${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>
|