Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2006 16:47:44 +0100 (CET)
From:      trasz <trasz@pin.if.uz.zgora.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/105822: [PATCH] sysutils/wmbsdbatt: respect X11BASE
Message-ID:  <20061124154744.038E639DB8@pin.if.uz.zgora.pl>
Resent-Message-ID: <200611241550.kAOFoGgk066533@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061124154744.038E639DB8>