Convert to USES=autoreconf

This commit is contained in:
Tijl Coosemans 2014-10-03 21:44:11 +00:00
parent c166489a46
commit 6d3721a17a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369938
2 changed files with 20 additions and 5 deletions

View file

@ -15,9 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
USES= compiler gettext gmake iconv libtool perl5 pkgconfig
USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake
AUTOMAKE_ARGS= -a -c -f
USES= autoreconf compiler gettext gmake iconv libtool perl5 pkgconfig
USE_GNOME= gdkpixbuf2 gtk20
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
@ -37,6 +35,9 @@ CFLAGS+= -fbracket-depth=1024
.endif
post-patch:
@${RM} -r ${WRKSRC}/libltdl
@${REINPLACE_CMD} 's/LTDL_SHLIBPATH_VAR/LT_MODULE_PATH_VAR/' \
${WRKSRC}/libtme/Makefile.am ${WRKSRC}/libtme/module.c
@${REINPLACE_CMD} -e '/^#ifdef/s|\*/||' \
${WRKSRC}/libtme/misc.c
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \

View file

@ -1,6 +1,6 @@
--- configure.in.orig
+++ configure.in
@@ -599,7 +599,7 @@
@@ -599,18 +599,16 @@
esac
changequote([, ])dnl
AC_MSG_RESULT([${misc_hosts}])
@ -9,7 +9,21 @@
misc_hosts=
fi
@@ -683,11 +683,8 @@
dnl Configure for libtool.
-AC_LIBLTDL_INSTALLABLE
+LT_CONFIG_LTDL_DIR([libltdl])
+LT_INIT([dlopen])
+LTDL_INIT([installable])
AC_SUBST(INCLTDL)
AC_SUBST(LIBLTDL)
-AC_LIBTOOL_DLOPEN
-AM_PROG_LIBTOOL
-AC_SUBST(LTLIBOBJS)
-AC_CONFIG_SUBDIRS(libltdl)
TME_PREOPEN=
if test $enable_shared = no; then
TME_PREOPEN='`sort -u $(top_builddir)/tme-preopen.txt`'
@@ -683,11 +681,8 @@
#define _TMECONFIG_H
TMEEOF