From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 2 08:20:02 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58C9A16A41C for ; Thu, 2 Jun 2005 08:20:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17AC243D49 for ; Thu, 2 Jun 2005 08:20:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j528K1Zm055656 for ; Thu, 2 Jun 2005 08:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j528K1qc055655; Thu, 2 Jun 2005 08:20:01 GMT (envelope-from gnats) Resent-Date: Thu, 2 Jun 2005 08:20:01 GMT Resent-Message-Id: <200506020820.j528K1qc055655@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, "Björn König" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C9E416A41C; Thu, 2 Jun 2005 08:13:05 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from mail.efacilitas.de (efacilitas.de [213.133.110.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 045C943D1D; Thu, 2 Jun 2005 08:13:04 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from hoppel.local (port-212-202-39-149.dynamic.qsc.de [212.202.39.149]) by mail.efacilitas.de (Postfix) with ESMTP id 58AB8123960; Thu, 2 Jun 2005 10:11:36 +0200 (CEST) Message-Id: <1117699898.0@hoppel.local> Date: Thu, 2 Jun 2005 10:11:38 +0200 From: "Björn König" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.6 Cc: eik@FreeBSD.org Subject: ports/81795: Update port: shells/bash - add knob to build a statically linked binary X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2005 08:20:02 -0000 >Number: 81795 >Category: ports >Synopsis: Update port: shells/bash - add knob to build a statically linked binary >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Jun 02 08:20:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Björn König >Release: FreeBSD 5.4-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD 5.4-RELEASE-p1 #0: Sat May 14 00:34:35 CEST 2005 root@hoppel.local:/usr/obj/usr/branch/RELENG_5_4/src/sys/HOPPELDESK >Description: The patch below adds knobs in the style of 'shells/bash2' to build a statically linked bash. >How-To-Repeat: >Fix: --- Makefile-static.patch begins here --- --- Makefile.orig Tue Apr 12 08:03:11 2005 +++ Makefile Fri May 27 16:47:51 2005 @@ -56,6 +56,16 @@ --disable-rpath \ --enable-disabled-builtins +.if defined(WANT_STATIC_BASH) || defined(NO_DYNAMICROOT) || (defined(NOSHARED) && ( ${NOSHARED} != "no" && ${NOSHARED} != "NO" )) +.if !defined(WITHOUT_NLS) +WITHOUT_NLS=yes +.endif +CONFIGURE_ARGS+= --enable-static-link +PKGNAMESUFFIX= -static +.else +CONFIGURE_ARGS+= --enable-static-link=no +.endif + .if defined(WITHOUT_HELP) CONFIGURE_ARGS+= --disable-help-builtin PLIST_SUB+= HELP="@comment " --- Makefile-static.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: