Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jan 2018 20:22:37 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458998 - in head/mail/qpopper: . files
Message-ID:  <201801142022.w0EKMb5p032799@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801142022.w0EKMb5p032799>