Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2013 23:36:29 GMT
From:      Kevin Rauwolf <sweetpea-freebsd@tentacle.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/182053: [maintainer update] mail/lurker build fix
Message-ID:  <201309122336.r8CNaTh7056079@oldred.freebsd.org>
Resent-Message-ID: <201309122340.r8CNe06H001133@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182053
>Category:       misc
>Synopsis:       [maintainer update] mail/lurker build fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 12 23:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Rauwolf
>Release:        10-CURRENT
>Organization:
>Environment:
FreeBSD xxxxx 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r255342: Sat Sep  7 07:34:47 UTC 2013     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
This fix is in response to a build failure:

Maintainer:     sweetpea-freebsd@tentacle.net
Last committer: ak@FreeBSD.org
Ident:          $FreeBSD: head/mail/lurker/Makefile 324744 2013-08-14 22:35:50Z ak $
Log URL:        http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-12_01h37m09s/logs/lurker-2.3.log
Build URL:      http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-12_01h37m09s
>How-To-Repeat:
Build on 10-CURRENT
>Fix:
Added patch to unset ac_cv_header_zlib_h in configure script; this allows search for zlib to proceed normally.

Patch attached with submission follows:

diff -ruN lurker.orig/Makefile lurker/Makefile
--- lurker.orig/Makefile	2013-08-14 15:35:50.000000000 -0700
+++ lurker/Makefile	2013-09-12 09:31:41.000000000 -0700
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	lurker
-# Date created:				01 Feb 2011
-# Whom:					Kevin Rauwolf <sweetpea-freebsd@tentacle.net>
-#
-# $FreeBSD: mail/lurker/Makefile 324744 2013-08-14 22:35:50Z ak $
-#
+# $FreeBSD$
 
 PORTNAME=	lurker
 PORTVERSION=	2.3
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	SF:0 \
 		SF/${PORTNAME}/mimelib/${MIMELIB_VERSION}/:1
@@ -35,8 +31,10 @@
 	@cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
 		${DISTDIR}/mimelib-${MIMELIB_VERSION}.tar.gz ${EXTRACT_AFTER_ARGS}
 
+.include <bsd.port.options.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_MAN} ${WRKSRC}/INSTALL ${DOCSDIR}
 	${INSTALL_MAN} ${WRKSRC}/FAQ ${DOCSDIR}
diff -ruN lurker.orig/files/patch-configure lurker/files/patch-configure
--- lurker.orig/files/patch-configure	1969-12-31 16:00:00.000000000 -0800
+++ lurker/files/patch-configure	2013-09-12 09:11:32.000000000 -0700
@@ -0,0 +1,10 @@
+--- configure.orig	2009-10-30 11:51:40.000000000 -0700
++++ configure	2013-09-12 09:08:52.000000000 -0700
+@@ -5109,6 +5109,7 @@
+ 
+ { echo "$as_me:$LINENO: checking for zlib.h" >&5
+ echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
++unset ac_cv_header_zlib_h
+ if test "${ac_cv_header_zlib_h+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else


>Release-Note:
>Audit-Trail:
>Unformatted:



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