2007-04-14 11:58:03 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.63 2007/04/14 15:58:03 espie 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
|
|
|
|
2006-11-21 06:31:39 -05:00
|
|
|
COMMENT-main= "generic shared library support script"
|
2004-07-01 21:59:12 -04:00
|
|
|
COMMENT-ltdl= "GNU libtool system independent dlopen wrapper"
|
2001-04-05 16:23:20 -04:00
|
|
|
|
2006-01-07 04:58:39 -05:00
|
|
|
VERSION= 1.5.22
|
2004-07-01 21:59:12 -04:00
|
|
|
DISTNAME= libtool-${VERSION}
|
2007-04-14 11:58:03 -04:00
|
|
|
PKGNAME-main= ${DISTNAME}p10
|
|
|
|
PKGNAME-ltdl= libltdl-${VERSION}p2
|
2006-01-07 04:58:39 -05:00
|
|
|
SHARED_LIBS= ltdl 4.3
|
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/
|
|
|
|
|
2004-07-01 21:59:12 -04:00
|
|
|
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
|
|
|
|
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
|
2006-01-02 12:12:01 -05:00
|
|
|
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
|
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:
|
|
|
|
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>
|