freebsd-ports/devel/libtool/Makefile
Erwin Lansing 08ea16d509 Apply FreeBSD 10 workaround for some high profile ports to
unbreak a lot of dependent ports.

Submitted by:	beat
Tested on:	pointyhat i386-9-exp and i386-10
2011-10-27 10:03:59 +00:00

41 lines
914 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
PORTREVISION?= 1
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]*
WITH_FBSD10_FIX= yes
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>