From aa1a5010f01d7234328a07d1913a4e081a145947 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sat, 18 Feb 2012 17:02:22 +0000 Subject: [PATCH] Use autoreconf instead of manually using each autohell script one after the other. Add missing BUILD_DEPENDS on libtool. from Brad --- devel/glib2/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/devel/glib2/Makefile b/devel/glib2/Makefile index 917f9ffef56..f5b6892c567 100644 --- a/devel/glib2/Makefile +++ b/devel/glib2/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.151 2012/02/16 22:08:39 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.152 2012/02/18 17:02:22 ajacoutot Exp $ COMMENT-main= general-purpose utility library COMMENT-docs= glib2 documentation @@ -92,7 +92,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \ AUTOMAKE_VERSION= 1.11 AUTOCONF_VERSION= 2.68 BUILD_DEPENDS+= ${MODGNU_AUTOCONF_DEPENDS} \ - ${MODGNU_AUTOMAKE_DEPENDS} + ${MODGNU_AUTOMAKE_DEPENDS} \ + devel/libtool MASTER_SITES0= http://dmitrymatveev.co.uk/files/ PATCHFILES= glib-gio-kqueue-2.28.8-v3.patch:0 AUTO_ENV= AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \ @@ -100,9 +101,7 @@ AUTO_ENV= AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \ post-patch: perl -pi -e 's,#include ,#include \n#include ,' \ ${WRKSRC}/gio/kqueue/{kqueue-helper,kqueue-thread,kqueue-utils}.c - cd ${WRKSRC} && ${AUTO_ENV} automake - cd ${WRKSRC} && ${AUTO_ENV} autoheader - cd ${WRKSRC} && ${AUTO_ENV} autoconf + cd ${WRKSRC} && ${AUTO_ENV} autoreconf --force --install ### end of kqueue(1) backend ########################################### .include