2011-09-22 17:10:19 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.77 2011/09/22 21:10:19 jasper 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
|
|
|
|
2011-09-22 17:10:19 -04:00
|
|
|
VERSION= 2.4
|
2004-07-01 21:59:12 -04:00
|
|
|
DISTNAME= libtool-${VERSION}
|
2010-11-15 14:45:56 -05:00
|
|
|
PKGNAME-main= ${DISTNAME}
|
|
|
|
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
|
|
|
|
2011-09-22 17:10:19 -04:00
|
|
|
SHARED_LIBS= ltdl 5.0
|
2000-06-22 00:40:40 -04:00
|
|
|
|
2011-09-22 17:10:19 -04:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/libtool/
|
2004-07-01 21:59:12 -04:00
|
|
|
|
2007-09-01 16:11:21 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
1999-05-04 23:13:02 -04:00
|
|
|
|
2009-11-11 05:47:08 -05:00
|
|
|
# GPLv2+
|
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
|
|
|
|
2011-09-22 17:10:19 -04:00
|
|
|
AUTOCONF_VERSION= 2.67
|
|
|
|
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS}
|
|
|
|
|
|
|
|
MAKE_ENV+= ${_lt_libs}
|
|
|
|
MAKE_FLAGS+= ${_lt_libs}
|
|
|
|
|
2000-06-10 13:14:15 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2011-09-22 17:10:19 -04:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ENV= GREP=/usr/bin/grep \
|
2010-06-12 16:56:14 -04:00
|
|
|
ac_cv_f77_compiler_gnu=yes \
|
2011-09-22 17:10:19 -04:00
|
|
|
ac_cv_path_SED=/usr/bin/sed \
|
|
|
|
lt_cv_prog_compiler_c_o_F77=yes \
|
2010-06-12 16:56:14 -04:00
|
|
|
lt_cv_prog_compiler_pic_works_F77=yes \
|
|
|
|
lt_cv_prog_compiler_static_works_F77=yes \
|
2011-09-22 17:10:19 -04:00
|
|
|
ac_cv_prog_F77=g77 \
|
|
|
|
ac_cv_prog_f77_g=yes
|
2007-04-29 06:24:23 -04:00
|
|
|
|
2006-11-21 06:31:39 -05:00
|
|
|
MULTI_PACKAGES= -main -ltdl
|
2004-07-01 21:59:12 -04:00
|
|
|
|
2010-11-15 14:45:56 -05:00
|
|
|
RUN_DEPENDS-main= devel/libtool,-ltdl
|
2004-07-01 21:59:12 -04:00
|
|
|
|
2010-06-12 16:56:14 -04:00
|
|
|
pre-configure:
|
2011-09-22 17:10:19 -04:00
|
|
|
@cd ${WRKDIR}/bin && ln -sf /usr/bin/true g77
|
2010-06-12 16:56:14 -04:00
|
|
|
|
2004-09-23 04:06:22 -04:00
|
|
|
do-regress:
|
2011-09-22 17:10:19 -04:00
|
|
|
@cd ${WRKDIR}/bin && ln -sf \
|
|
|
|
${LOCALBASE}/bin/autoconf-${AUTOCONF_VERSION} autoconf
|
|
|
|
@cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} check
|
2004-09-23 04:06:22 -04:00
|
|
|
|
1998-11-10 01:24:25 -05:00
|
|
|
.include <bsd.port.mk>
|