svn commit: r458998 - in head/mail/qpopper: . files

Tijl Coosemans tijl at FreeBSD.org
Sun Jan 14 20:22:38 UTC 2018


Author: tijl
Date: Sun Jan 14 20:22:37 2018
New Revision: 458998
URL: https://svnweb.freebsd.org/changeset/ports/458998

Log:
  Patch configure instead of configure.in so USE_AUTOTOOLS can be removed.

Deleted:
  head/mail/qpopper/files/patch-configure.in
Modified:
  head/mail/qpopper/Makefile

Modified: head/mail/qpopper/Makefile
==============================================================================
--- head/mail/qpopper/Makefile	Sun Jan 14 19:39:15 2018	(r458997)
+++ head/mail/qpopper/Makefile	Sun Jan 14 20:22:37 2018	(r458998)
@@ -13,10 +13,10 @@ MAINTAINER=	bc979 at lafn.org
 COMMENT=	Berkeley POP 3 server (now maintained by Qualcomm)
 
 USES=		compiler:features
-USE_AUTOTOOLS=	autoconf
+GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	OS_DEFS="-DSETPROCTITLE ${OS_DEFS}"
 CONFIGURE_ARGS=	--enable-nonauth-file=${POPUSERS_FILE} \
-		--without-gdbm \
+		--without-gdbm ac_cv_header_gdbm_h=no \
 		--enable-keep-temp-drop
 LIBS+=		-L${LOCALBASE}/lib -lcrypt -lmd -lutil
 
@@ -124,13 +124,13 @@ CONFIGURE_ARGS+=	--with-openssl=${OPENSSLBASE}
 
 post-patch:
 .if ${COMPILER_TYPE} == clang
-	@${REINPLACE_CMD} -e 's|-freg-struct-return||' ${WRKSRC}/configure.in
+	@${REINPLACE_CMD} -e 's|-freg-struct-return||' ${WRKSRC}/configure
 .endif
 	@${RM} ${WRKSRC}/popper/md5.h
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/man/*
 	@${REINPLACE_CMD} -e \
 		's|\$${sbindir}/sendmail|${LOCALBASE}/sbin/sendmail|g' \
-		${WRKSRC}/configure.in
+		${WRKSRC}/configure
 .if ${PORT_OPTIONS:MPOPPASSD}
 	@${REINPLACE_CMD} -e 's|/usr/bin/smbpasswd|${LOCALBASE}/bin/smbpasswd|' \
 		${WRKSRC}/password/poppassd.c


More information about the svn-ports-all mailing list