2008-05-02 06:17:32 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.70 2008/05/02 10:17:32 steven Exp $
|
1999-04-01 01:20:02 -05:00
|
|
|
# $FreeBSD: Makefile,v 1.2 1998/09/23 16:15:53 vanilla Exp $
|
1998-11-10 01:24:25 -05:00
|
|
|
|
2007-09-01 16:11:21 -04:00
|
|
|
COMMENT-main= generic shared library support script
|
|
|
|
COMMENT-ltdl= GNU libtool system independent dlopen wrapper
|
2001-04-05 16:23:20 -04:00
|
|
|
|
2008-04-11 14:55:43 -04:00
|
|
|
VERSION= 1.5.26
|
2004-07-01 21:59:12 -04:00
|
|
|
DISTNAME= libtool-${VERSION}
|
2008-05-02 06:17:32 -04:00
|
|
|
PKGNAME-main= ${DISTNAME}p0
|
2008-04-11 14:55:43 -04:00
|
|
|
PKGNAME-ltdl= libltdl-${VERSION}
|
|
|
|
SHARED_LIBS= ltdl 4.4
|
2005-12-23 12:02:46 -05:00
|
|
|
MODGNU_SHARED_LIBS= ltdl '-no-undefined'
|
|
|
|
|
2000-04-11 03:58:20 -04:00
|
|
|
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/
|
|
|
|
|
2008-05-02 06:17:32 -04:00
|
|
|
AUTOCONF_VERSION= 2.61
|
2004-07-01 21:59:12 -04:00
|
|
|
BUILD_DEPENDS+= ${MODGNU_AUTOCONF_DEPENDS}
|
|
|
|
|
2007-09-01 16:11:21 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
1999-05-04 23:13:02 -04:00
|
|
|
|
2004-07-01 21:59:12 -04:00
|
|
|
# GPL
|
2000-04-10 14:56:06 -04:00
|
|
|
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
|
2006-01-07 04:58:39 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--infodir=${PREFIX}/info
|
2007-04-29 06:24:23 -04:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2006-11-21 06:31:39 -05:00
|
|
|
MULTI_PACKAGES= -main -ltdl
|
2004-07-01 21:59:12 -04:00
|
|
|
|
2006-11-21 06:31:39 -05:00
|
|
|
RUN_DEPENDS-main= ::devel/libtool,-ltdl
|
2004-07-01 21:59:12 -04:00
|
|
|
|
2004-09-23 04:06:22 -04:00
|
|
|
do-regress:
|
2008-05-02 06:17:32 -04:00
|
|
|
cd ${WRKDIR}/bin && ln -sf ${LOCALBASE}/bin/autoconf-2.61 autoconf
|
2004-09-23 04:06:22 -04:00
|
|
|
cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} check
|
|
|
|
|
1998-11-10 01:24:25 -05:00
|
|
|
.include <bsd.port.mk>
|