From 144f4e5cb31020994fca6a862735ce1cd1b8905f Mon Sep 17 00:00:00 2001 From: dwcjr Date: Tue, 21 May 2002 14:59:05 +0000 Subject: Fix autoconf and autoheader problems --- net/samba-tng/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'net/samba-tng/Makefile') diff --git a/net/samba-tng/Makefile b/net/samba-tng/Makefile index 26414c7..61c991a 100644 --- a/net/samba-tng/Makefile +++ b/net/samba-tng/Makefile @@ -19,6 +19,7 @@ INSTALLS_SHLIB= YES USE_GMAKE= YES USE_BZIP2= YES USE_AUTOCONF= YES +USE_LIBTOOL= YES WRKSRC= ${WRKDIR}/tng-clean/source # directories @@ -49,6 +50,9 @@ MAN8= browserd.8 lsarpcd.8 netlogond.8 nmbd.8 rpcclient.8 \ .include +CONFIGURE_ENV= AUTOCONF=${PREFIX}/bin/${AUTOCONF} \ + AUTOHEADER=${PREFIX}/bin/${AUTOHEADER} + .if defined(WITH_SYSLOG) CONFIGURE_ARGS+= --with-syslog .endif @@ -74,6 +78,10 @@ CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \ LDFLAGS=-L${LOCALBASE}/lib .endif +pre-configure: + @${ECHO} ${CONFIGURE_ENV} + @${ECHO} ${CONFIGURE_ARGS} + post-install: @${INSTALL_SCRIPT} ${WRKSRC}/script/samba-init.d ${SAMBA_CONFDIR}/rc.d/samba-tng.sh.sample -- cgit v1.1