aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-05-21 22:59:05 +0800
committerdwcjr <dwcjr@FreeBSD.org>2002-05-21 22:59:05 +0800
commit144f4e5cb31020994fca6a862735ce1cd1b8905f (patch)
tree67329b5e1805a9c5e574f05d451d50a9453431e7 /net
parentbded60f3c6c4ed78162c3e204660eee4076a7818 (diff)
downloadfreebsd-ports-graphics-144f4e5cb31020994fca6a862735ce1cd1b8905f.tar.gz
freebsd-ports-graphics-144f4e5cb31020994fca6a862735ce1cd1b8905f.tar.zst
freebsd-ports-graphics-144f4e5cb31020994fca6a862735ce1cd1b8905f.zip
Fix autoconf and autoheader problems
Diffstat (limited to 'net')
-rw-r--r--net/samba-tng/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/samba-tng/Makefile b/net/samba-tng/Makefile
index 26414c7e368..61c991a359e 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 <bsd.port.pre.mk>
+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