ports/105827: [PATCH] x11-wm/swm: respect X11BASE
trasz
trasz at pin.if.uz.zgora.pl
Fri Nov 24 16:30:13 UTC 2006
>Number: 105827
>Category: ports
>Synopsis: [PATCH] x11-wm/swm: 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 16:30:12 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, CC and CFLAGS.
Added file(s):
- files/patch-Makefile-xpm
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- swm-1.3.4_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/x11-wm/swm/files/patch-Makefile-xpm /home/trasz/swm/files/patch-Makefile-xpm
--- /usr/ports/x11-wm/swm/files/patch-Makefile-xpm Thu Jan 1 01:00:00 1970
+++ /home/trasz/swm/files/patch-Makefile-xpm Fri Nov 24 17:20:28 2006
@@ -0,0 +1,30 @@
+--- Makefile-xpm.orig Fri Nov 24 17:15:55 2006
++++ Makefile-xpm Fri Nov 24 17:16:17 2006
+@@ -2,7 +2,7 @@
+ # CFLAGS = -O0 -Wall -g3 -ggdb -p
+ # LDFLAGS = -O0 -Wall -g3 -ggdb -p
+ #for production use
+-CFLAGS = -O3
++#CFLAGS = -O3
+ LDFLAGS = -s -pipe
+
+ # if you want swm to be installed somewhere else:
+@@ -10,9 +10,9 @@
+
+ # There should be nothing to edit below this line
+ # -----------------------------------------------------------------------------
+-CC = gcc
++#CC = gcc
+
+-XROOT = /usr/X11R6
++XROOT = $(X11BASE)
+ INCLPATH = -I$(XROOT)/include
+ LDPATH = -L$(XROOT)/lib
+
+@@ -92,4 +92,4 @@
+ mrproper:
+ rm -f *~ swm core *.o $(OBJS)
+ cp -f Makefile.org Makefile
+-
+\ No newline at end of file
++
--- swm-1.3.4_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list