summaryrefslogtreecommitdiff
path: root/ftp/wzdftpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/wzdftpd/Makefile')
-rw-r--r--ftp/wzdftpd/Makefile18
1 files changed, 5 insertions, 13 deletions
diff --git a/ftp/wzdftpd/Makefile b/ftp/wzdftpd/Makefile
index d72c84e4c707..da1a1ca1bcc5 100644
--- a/ftp/wzdftpd/Makefile
+++ b/ftp/wzdftpd/Makefile
@@ -21,17 +21,15 @@ HOWL_DESC= Zeroconf support via Howl
OPTIONS_SUB= yes
-USES= pkgconfig libtool
-USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf
-ACLOCAL_ARGS= -I m4 -I ac-helpers
-AUTOMAKE_ARGS= --add-missing --copy
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --sysconfdir=${ETCDIR} --without-pam --disable-bonjour
+USES= autoreconf gettext-tools libtool pkgconfig
USE_LDCONFIG= yes
USE_RC_SUBR= wzdftpd
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+LIBS+= -L${LOCALBASE}/lib
ICONV_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG}
ICONV_CONFIGURE_OFF= --disable-utf8
@@ -78,15 +76,9 @@ PLIST_SUB+= ZEROCONF=""
PLIST_SUB+= ZEROCONF="@comment "
.endif
-post-extract:
- @${RM} -f ${WRKSRC}/m4/libtool.m4
- @${RM} -f ${WRKSRC}/m4/lib-*.m4
- @${ECHO_CMD} -n > ${WRKSRC}/config.rpath
-
post-patch:
- @${REINPLACE_CMD} -e \
- '/Libs:/s|@PTHREAD_CFLAGS@|@LTLIBICONV@|' \
- ${WRKSRC}/wzdftpd.pc.in
+ @${TOUCH} ${WRKSRC}/config.rpath
+ @${ECHO_CMD} "ACLOCAL_AMFLAGS= -I ac-helpers" >> ${WRKSRC}/Makefile.am
@${REINPLACE_CMD} -e \
'/LDFLAGS/s|@PTHREAD_CFLAGS@|@LTLIBICONV@|' \
${WRKSRC}/libwzd-core/Makefile.am