Date: Fri, 8 Dec 2000 15:37:29 +1100 (EST) From: andrew@ugh.net.au To: FreeBSD-gnats-submit@freebsd.org Subject: ports/23370: fix static building of gpart port (maintainer update) Message-ID: <20001208043729.31597A85E@starbug.ugh.net.au> Resent-Message-ID: <200012080440.eB84e2P58428@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <th@cis.ibaraki.ac.jp> 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 <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001208043729.31597A85E>