diff options
author | miwi <miwi@FreeBSD.org> | 2006-11-25 06:41:05 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-11-25 06:41:05 +0800 |
commit | e718242faab189b18796337a2fc72ecb5a6e2d8c (patch) | |
tree | 7dcfb15dbf7b8d6194f80f959a3ca78e085cd588 /sysutils | |
parent | 9460ae3289aa3bb8e4272391227b3decf392d550 (diff) | |
download | freebsd-ports-gnome-e718242faab189b18796337a2fc72ecb5a6e2d8c.tar.gz freebsd-ports-gnome-e718242faab189b18796337a2fc72ecb5a6e2d8c.tar.zst freebsd-ports-gnome-e718242faab189b18796337a2fc72ecb5a6e2d8c.zip |
- Respect X11BASE
PR: ports/105822
Submitted by: trasz
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/wmbsdbatt/files/patch-Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sysutils/wmbsdbatt/files/patch-Makefile b/sysutils/wmbsdbatt/files/patch-Makefile new file mode 100644 index 000000000000..c7a49d98040b --- /dev/null +++ b/sysutils/wmbsdbatt/files/patch-Makefile @@ -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} |