From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 24 17:50:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3DE95F5F for ; Mon, 24 Jun 2013 17:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 223071603 for ; Mon, 24 Jun 2013 17:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5OHo13e080941 for ; Mon, 24 Jun 2013 17:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5OHo191080940; Mon, 24 Jun 2013 17:50:01 GMT (envelope-from gnats) Resent-Date: Mon, 24 Jun 2013 17:50:01 GMT Resent-Message-Id: <201306241750.r5OHo191080940@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tijl Coosemans Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8DE7AE72 for ; Mon, 24 Jun 2013 17:45:09 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay020.isp.belgacom.be (Mailrelay020.isp.belgacom.be [195.238.6.95]) by mx1.freebsd.org (Postfix) with ESMTP id 312FD15C0 for ; Mon, 24 Jun 2013 17:45:08 +0000 (UTC) Received: from 2.122-242-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.242.122.2]) by relay.skynet.be with ESMTP; 24 Jun 2013 19:45:01 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id r5OHix60048802 for ; Mon, 24 Jun 2013 19:45:00 +0200 (CEST) (envelope-from tijl@kalimero.tijl.coosemans.org) Received: (from tijl@localhost) by kalimero.tijl.coosemans.org (8.14.7/8.14.7/Submit) id r5OHixmc048801; Mon, 24 Jun 2013 19:44:59 +0200 (CEST) (envelope-from tijl) Message-Id: <201306241744.r5OHixmc048801@kalimero.tijl.coosemans.org> Date: Mon, 24 Jun 2013 19:44:59 +0200 (CEST) From: Tijl Coosemans To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/179933: [patch] www/serf: remove gmake dependency X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Tijl Coosemans List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jun 2013 17:50:01 -0000 >Number: 179933 >Category: ports >Synopsis: [patch] www/serf: remove gmake dependency >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 24 17:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Tijl Coosemans >Release: FreeBSD 10.0-CURRENT i386 >Organization: >Environment: >Description: I'm going over devel/subversion dependencies to see if any can be removed. The attached patch removes gmake from www/serf and some other small changes: - Put PROJECTHOST together with MASTER_SITES. - Replace NOPORTDOCS with DOCS option. - Remove USE_GMAKE. - Silence post-patch. - Rename check target to regression-test such that pointyhat runs the tests. - Put parentheses around "cd && " as recommended by make(1). >How-To-Repeat: >Fix: --- serf.patch begins here --- Index: www/serf/Makefile =================================================================== --- www/serf/Makefile (revision 321639) +++ www/serf/Makefile (working copy) @@ -6,33 +6,35 @@ PORTVERSION= 1.2.1 CATEGORIES= www MASTER_SITES= GOOGLE_CODE MASTER_SITE_SUBDIR= db +PROJECTHOST= serf MAINTAINER= apache@FreeBSD.org COMMENT= Serf HTTP client library LIB_DEPENDS+= apr-1:${PORTSDIR}/devel/apr1 -MAKE_JOBS_SAFE= yes +OPTIONS_DEFINE= DOCS -PROJECTHOST= serf +MAKE_JOBS_SAFE= yes USE_BZIP2= yes -USE_GMAKE= yes USES= pathfix GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS+= --with-apr=${LOCALBASE}/bin/apr-1-config \ --with-apr-util=${LOCALBASE}/bin/apu-1-config +.include + post-patch: - ${REINPLACE_CMD} -e '/^Requires.private/d' ${WRKSRC}/serf.pc.in + @${REINPLACE_CMD} -e '/^Requires.private/d' ${WRKSRC}/serf.pc.in post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/design-guide.txt ${DOCSDIR} .endif -check: - @cd ${WRKSRC}/ && ${MAKE} check +regression-test: + @(cd ${WRKSRC} && ${MAKE} check) .include --- serf.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: