From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 23 06:40:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2771C286 for ; Fri, 23 Aug 2013 06:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 057EF206E for ; Fri, 23 Aug 2013 06:40:02 +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 r7N6e1qG071986 for ; Fri, 23 Aug 2013 06:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7N6e16c071985; Fri, 23 Aug 2013 06:40:01 GMT (envelope-from gnats) Resent-Date: Fri, 23 Aug 2013 06:40:01 GMT Resent-Message-Id: <201308230640.r7N6e16c071985@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, John Marshall Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F1216277 for ; Fri, 23 Aug 2013 06:39:20 +0000 (UTC) (envelope-from john.marshall@riverwillow.com.au) Received: from mail1.riverwillow.net.au (mail1.riverwillow.net.au [203.58.93.36]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5BF072064 for ; Fri, 23 Aug 2013 06:39:19 +0000 (UTC) Received: from rwsrv08.mby.riverwillow.net.au (localhost [127.0.0.1]) by mail1.riverwillow.net.au (8.14.7/8.14.7) with ESMTP id r7N6O6Fb056230 for ; Fri, 23 Aug 2013 16:24:06 +1000 (AEST) Received: (from john@localhost) by rwsrv08.mby.riverwillow.net.au (8.14.7/8.14.7/Submit) id r7N6O5IE056229; Fri, 23 Aug 2013 16:24:05 +1000 (AEST) Message-Id: <201308230624.r7N6O5IE056229@rwsrv08.mby.riverwillow.net.au> Date: Fri, 23 Aug 2013 16:24:05 +1000 (AEST) From: John Marshall To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/181481: [PATCH] irc/ircd-ratbox fix default options broken by optionsNG commit X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: John Marshall List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Aug 2013 06:40:02 -0000 >Number: 181481 >Category: ports >Synopsis: [PATCH] irc/ircd-ratbox fix default options broken by optionsNG commit >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 23 06:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: John Marshall >Release: FreeBSD 9.2-RC2 amd64 >Organization: Riverwillow Pty Ltd >Environment: System: FreeBSD rwsrv08.mby.riverwillow.net.au 9.2-RC2 FreeBSD 9.2-RC2 #0 r254388: Fri Aug 16 11:31:09 AEST 2013 root@rwsrv08.mby.riverwillow.net.au:/usr/obj/usr/src/sys/RWSRV08 amd64 >Description: r309810 included optionsNG conversion work which broke 3 of the 4 default options. This meant that, instead of IPv6 and Ziplinks being enabled by default, it wasn't possible to build the port with either. Fortunately, an incorrect (old) configure argument was used to disable building with shared modules, so they still built anyway. >How-To-Repeat: make config (and twiddle the IPV6, ZIPLINKS and SHARED_MODS options) make clean configure (and notice absolutely no difference in the report) >Fix: Added appropriate --enable-foo arguments. The --disable-shared-modules configure argument is old, invalid, and does nothing. The --enable-static option now provides that functionality. Also added MAKE_JOBS_UNSAFE to avoid intermittent build failures. --- ircd-ratbox_324939.diff begins here --- Index: irc/ircd-ratbox/Makefile =================================================================== --- irc/ircd-ratbox/Makefile (revision 324939) +++ irc/ircd-ratbox/Makefile (working copy) @@ -20,6 +20,8 @@ USE_SQLITE= 3 USE_LDCONFIG= ${PREFIX}/lib/ircd-ratbox +MAKE_JOBS_UNSAFE= yes + USERS= ircd GROUPS= ${USERS} @@ -70,15 +72,21 @@ .endif .if ${PORT_OPTIONS:MIPV6} +CONFIGURE_ARGS+= --enable-ipv6 +.else CONFIGURE_ARGS+= --disable-ipv6 .endif .if ${PORT_OPTIONS:MZIPLINKS} +CONFIGURE_ARGS+= --enable-zlib +.else CONFIGURE_ARGS+= --disable-zlib .endif .if ${PORT_OPTIONS:MSHARED_MODS} -CONFIGURE_ARGS+= --disable-shared-modules +CONFIGURE_ARGS+= --disable-static +.else +CONFIGURE_ARGS+= --enable-static .endif .if ${PORT_OPTIONS:MASSERT} --- ircd-ratbox_324939.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: