openbsd-ports/devel/libtool/Makefile

51 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.65 2007/06/04 19:00:16 kurt Exp $
# $FreeBSD: Makefile,v 1.2 1998/09/23 16:15:53 vanilla Exp $
1998-11-10 01:24:25 -05:00
2006-11-21 06:31:39 -05:00
COMMENT-main= "generic shared library support script"
COMMENT-ltdl= "GNU libtool system independent dlopen wrapper"
VERSION= 1.5.22
DISTNAME= libtool-${VERSION}
PKGNAME-main= ${DISTNAME}p12
PKGNAME-ltdl= libltdl-${VERSION}p2
SHARED_LIBS= ltdl 4.3
MODGNU_SHARED_LIBS= ltdl '-no-undefined'
CATEGORIES= devel
2002-05-13 14:50:36 -04:00
MASTER_SITES= ${MASTER_SITE_GNU:=libtool/}
1998-11-10 01:24:25 -05:00
2000-06-22 00:40:40 -04:00
HOMEPAGE= http://www.gnu.org/software/libtool/
AUTOCONF_VERSION= 2.59
BUILD_DEPENDS+= ${MODGNU_AUTOCONF_DEPENDS}
2000-09-23 21:23:42 -04:00
MAINTAINER= Brad Smith <brad@openbsd.org>
1999-05-04 23:13:02 -04:00
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-12 03:02:07 -05:00
2000-06-10 13:14:15 -04:00
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--infodir=${PREFIX}/info
# Strictly speaking, forcing GREP in MAKE_ENV should suffice, since the
# libtool reconfigures during the build. But we want to play it safe for
# future changes/updates, so force GREP in CONFIGURE_ENV, too.
CONFIGURE_ENV= GREP=/usr/bin/grep
MAKE_ENV= GREP=/usr/bin/grep
FAKE_FLAGS= ${MAKE_FLAGS} DESTDIR=${WRKINST}
1998-11-10 01:24:25 -05:00
2006-11-21 06:31:39 -05:00
MULTI_PACKAGES= -main -ltdl
2006-11-21 06:31:39 -05:00
RUN_DEPENDS-main= ::devel/libtool,-ltdl
2004-09-23 04:06:22 -04:00
do-regress:
cd ${WRKDIR}/bin && ln -sf ${LOCALBASE}/bin/autoconf-2.59 autoconf
cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} check
1998-11-10 01:24:25 -05:00
.include <bsd.port.mk>