From owner-freebsd-ports Thu Dec 7 20:40: 7 2000 From owner-freebsd-ports@FreeBSD.ORG Thu Dec 7 20:40:03 2000 Return-Path: Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 03D6737B401 for ; Thu, 7 Dec 2000 20:40:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eB84e2P58428; Thu, 7 Dec 2000 20:40:02 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 7 Dec 2000 20:40:02 -0800 (PST) Resent-Message-Id: <200012080440.eB84e2P58428@freefall.freebsd.org> Resent-From: gnats-admin@FreeBSD.org (GNATS Management) Resent-To: freebsd-ports@FreeBSD.org Resent-Reply-To: gnats-admin@FreeBSD.org, andrew@ugh.net.au Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id 9D15437B400 for ; Thu, 7 Dec 2000 20:37:49 -0800 (PST) Received: by starbug.ugh.net.au (Postfix, from userid 1000) id 31597A85E; Fri, 8 Dec 2000 15:37:29 +1100 (EST) Message-Id: <20001208043729.31597A85E@starbug.ugh.net.au> Date: Fri, 8 Dec 2000 15:37:29 +1100 (EST) From: andrew@ugh.net.au Reply-To: andrew@ugh.net.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/23370: fix static building of gpart port (maintainer update) Resent-Sender: gnats@FreeBSD.org Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 23370 >Category: ports >Synopsis: fix static building of gpart port (maintainer update) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 07 20:40:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: Andrew >Release: FreeBSD 4.2-STABLE i386 >Organization: UgH! >Environment: >Description: The gpart port failed to build a statically linked executable when WANT_STATIC was defined. HIYAMA Takeshi brought this to my attention and provided a patch. This is a slightly different patch for the same problem. >How-To-Repeat: cd /usr/ports/sysutils/gpart && make -DWANT_STATIC >Fix: diff -ruN gpart.orig/Makefile gpart/Makefile --- gpart.orig/Makefile Mon Sep 18 00:16:56 2000 +++ gpart/Makefile Fri Dec 8 14:27:07 2000 @@ -18,7 +18,7 @@ MAN8= gpart.8 .if defined(WANT_STATIC) -LDFLAGS= -static +MAKE_ARGS+= LDFLAGS=-static .endif .include >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message