2004-09-23 04:06:22 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.34 2004/09/23 08:06:22 brad 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
|
|
|
|
2001-04-05 16:23:20 -04:00
|
|
|
COMMENT= "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
|
|
|
|
2004-09-23 04:06:22 -04:00
|
|
|
VERSION= 1.5.10
|
2004-07-01 21:59:12 -04:00
|
|
|
DISTNAME= libtool-${VERSION}
|
|
|
|
PKGNAME-ltdl= libltdl-${VERSION}
|
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
|
|
|
|
2004-07-01 21:59:12 -04:00
|
|
|
MAKE_ENV+= MAKEINFOFLAGS="--no-split"
|
|
|
|
|
2000-06-10 13:14:15 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2000-04-11 03:58:20 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
1998-11-10 01:24:25 -05:00
|
|
|
|
2004-07-01 21:59:12 -04:00
|
|
|
MULTI_PACKAGES= -ltdl
|
|
|
|
SUBPACKAGE?=
|
|
|
|
|
|
|
|
.if defined(PACKAGING)
|
|
|
|
. if empty(SUBPACKAGE)
|
|
|
|
RUN_DEPENDS+= ::devel/libtool,-ltdl
|
|
|
|
. endif
|
|
|
|
.endif
|
|
|
|
|
1999-06-01 18:05:11 -04:00
|
|
|
pre-configure:
|
2000-04-11 03:58:20 -04:00
|
|
|
@rm -f ${WRKSRC}/doc/libtool.info*
|
1999-06-01 18:05:11 -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>
|