- fix build with newer libtool

This commit is contained in:
jasper 2011-06-29 12:25:14 +00:00
parent 771698f85e
commit a689b8b697
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.23 2011/06/10 13:45:56 gsoares Exp $
# $OpenBSD: Makefile,v 1.24 2011/06/29 12:25:14 jasper Exp $
COMMENT-main= authentication library for courier
COMMENT-ldap= ldap authentication module for courier-authLib
@ -72,6 +72,7 @@ CONFIGURE_ARGS+= --enable-static \
--includedir=${PREFIX}/include \
--enable-ltdl-install=no \
--with-ltdl-lib=${LOCALBASE}/lib \
--with-ltdl-include=${LOCALBASE}/include \
--cache-file=${WRKDIR}/courier-authlib.cache
RUN_DEPENDS-main= lang/expect,no_tk

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.21 2011/06/29 12:20:56 jasper Exp $
# $OpenBSD: Makefile,v 1.22 2011/06/29 12:25:31 jasper Exp $
COMMENT= hfsplus filesystem access tool
@ -25,6 +25,7 @@ USE_GMAKE= Yes
USE_LIBTOOL= Yes
AUTOCONF_VERSION= 2.59
AUTOMAKE_VERSION= 1.9
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS}
# needs the AM_PROG_LIBTOOL macro
BUILD_DEPENDS += devel/libtool
@ -40,6 +41,7 @@ WRKDIST= ${WRKDIR}/hfsplus-${VERSION}
DOC=bugs.html hfsp.html libhfsp.html
pre-configure:
@cd ${WRKDIST} && ln -s ${LOCALBASE}/share/libtool/config/ltmain.sh
@cd ${WRKDIST} && AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
${MAKE_PROGRAM} -f Makefile.cvs all