From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Nov 24 15:50:37 2006 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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 64FD116A415 for ; Fri, 24 Nov 2006 15:50:37 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5589E43D5C for ; Fri, 24 Nov 2006 15:49:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kAOFoGRG066534 for ; Fri, 24 Nov 2006 15:50:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kAOFoGgk066533; Fri, 24 Nov 2006 15:50:16 GMT (envelope-from gnats) Resent-Date: Fri, 24 Nov 2006 15:50:16 GMT Resent-Message-Id: <200611241550.kAOFoGgk066533@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, trasz Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6C0C916A40F for ; Fri, 24 Nov 2006 15:46:42 +0000 (UTC) (envelope-from trasz@pin.if.uz.zgora.pl) Received: from pin.if.uz.zgora.pl (pin.if.uz.zgora.pl [212.109.128.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E52D43D67 for ; Fri, 24 Nov 2006 15:46:00 +0000 (GMT) (envelope-from trasz@pin.if.uz.zgora.pl) Received: by pin.if.uz.zgora.pl (Postfix, from userid 1001) id 038E639DB8; Fri, 24 Nov 2006 16:47:44 +0100 (CET) Message-Id: <20061124154744.038E639DB8@pin.if.uz.zgora.pl> Date: Fri, 24 Nov 2006 16:47:44 +0100 (CET) From: trasz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/105822: [PATCH] sysutils/wmbsdbatt: respect X11BASE 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: Fri, 24 Nov 2006 15:50:37 -0000 >Number: 105822 >Category: ports >Synopsis: [PATCH] sysutils/wmbsdbatt: respect X11BASE >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: Fri Nov 24 15:50:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: trasz >Release: FreeBSD 6.1-RELEASE-p10 i386 >Organization: >Environment: System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006 >Description: Respect $X11BASE and $CC. http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.5-exp.2006101300/wmbsdbatt-0.1.log Added file(s): - files/patch-Makefile Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- wmbsdbatt-0.1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/sysutils/wmbsdbatt/files/patch-Makefile /home/trasz/wmbsdbatt/files/patch-Makefile --- /usr/ports/sysutils/wmbsdbatt/files/patch-Makefile Thu Jan 1 01:00:00 1970 +++ /home/trasz/wmbsdbatt/files/patch-Makefile Fri Nov 24 16:42:14 2006 @@ -0,0 +1,28 @@ +--- Makefile.orig Fri Nov 24 16:37:59 2006 ++++ Makefile Fri Nov 24 16:39:35 2006 +@@ -1,12 +1,12 @@ + # Makefile for wmbsdbatt + # + # $Id: Makefile,v 1.1 2003/12/23 18:27:34 le Exp $ +-CC = gcc ++#CC = gcc + PROGRAM = wmbsdbatt + OBJS = wmbsdbatt.o dockapp.o + HEADER = dockapp.h +-CFLAGS += -Wall -I/usr/local/include -I/usr/X11R6/include +-LDFLAGS += -L/usr/local/lib -L/usr/X11R6/lib -lX11 -lXext -lXpm ++CFLAGS += -Wall -I$(LOCALBASE)/include -I$(X11BASE)/include ++LDFLAGS += -L$(LOCALBASE)/lib -L$(X11BASE)/lib -lX11 -lXext -lXpm + + all: ${PROGRAM} + +@@ -14,9 +14,6 @@ + gcc ${CFLAGS} ${LDFLAGS} -o ${PROGRAM} ${OBJS} + + ${OBJS}: ${HEADER} +- +-install: +- install -c -o 0 -g 0 -s ${PROGRAM} /usr/X11R6/bin + + clean: + rm -f *.o *.core ${PROGRAM} --- wmbsdbatt-0.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: