959bb8b2d9
Changelog: - The --with-pic configure option now supports a list of comma-separated package names. This can be used to build some static libraries with PIC objects while building others with non-PIC objects. - Initial support for Go, using the gccgo compiler. - On Mac OS X .dylib is now tried as well as .so with lt_dlopenext(). Bug fixes: - The generic approximation of the command line length limit (when getconf is not available) works again. Regression introduced in v2.2.6-39-g9c3d4d8. - The bug that leaked developer tool paths into the release tarballs from ./bootstrap is fixed. - Improved support for the Cuda Compiler Driver (nvcc) on Darwin. - For GCC LTO support, the -fuse-linker-plugin switch is now also removed when computing compiler postdeps. Important incompatible changes: - The undocumented hardcode_libdir_flag_spec_ld tag variable has been removed in favor of using hardcode_libdir_flag_spec with $wl set to empty. Changes in supported systems or compilers: - Fixes for gfortran on Darwin, XL Fortran on GNU/Linux. - Support for FreeBSD 1.x (outdated since 1994) has been removed. PR: 162012 Submitted by: delphij@ Tested via: exp-run
40 lines
878 B
Makefile
40 lines
878 B
Makefile
# New ports collection makefile for: libtool
|
|
# Date created: 6 May 1998
|
|
# Whom: Motoyuki Kasahara <m-kasahr@sra.co.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME?= libtool
|
|
PORTVERSION= 2.4.2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= libtool
|
|
DISTNAME= libtool-${PORTVERSION}
|
|
|
|
MAINTAINER= autotools@FreeBSD.org
|
|
COMMENT?= Generic shared library support script
|
|
|
|
LICENSE?= GPLv2
|
|
LICENSE_FILE?= ${WRKSRC}/COPYING
|
|
|
|
CONFLICTS= libtool-fixed-[0-9]*
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS?= --disable-ltdl-install
|
|
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
|
|
INFO?= libtool
|
|
.if ${PORTNAME} != "libltdl"
|
|
MAN1= libtool.1 libtoolize.1
|
|
.endif
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|