diff options
Diffstat (limited to 'games/wmqstat')
-rw-r--r-- | games/wmqstat/Makefile | 2 | ||||
-rw-r--r-- | games/wmqstat/files/patch-Makefile | 23 |
2 files changed, 13 insertions, 12 deletions
diff --git a/games/wmqstat/Makefile b/games/wmqstat/Makefile index b0085c0..43f6673 100644 --- a/games/wmqstat/Makefile +++ b/games/wmqstat/Makefile @@ -16,7 +16,7 @@ COMMENT= A dockapp for monitoring of various Internet game servers RUN_DEPENDS= qstat:${PORTSDIR}/games/qstat -USE_XORG= xpm +USE_XORG= xpm x11 xext PLIST_FILES= bin/${PORTNAME} PORTDOCS= README diff --git a/games/wmqstat/files/patch-Makefile b/games/wmqstat/files/patch-Makefile index 6968db3..28882d2 100644 --- a/games/wmqstat/files/patch-Makefile +++ b/games/wmqstat/files/patch-Makefile @@ -1,15 +1,17 @@ ---- Makefile.orig Fri Apr 25 05:00:09 2003 -+++ Makefile Fri Apr 25 05:00:40 2003 +--- ./Makefile.orig 2003-04-24 21:31:39.000000000 +0200 ++++ ./Makefile 2008-04-13 13:00:54.000000000 +0200 @@ -1,14 +1,11 @@ -CC = cc -+CC ?= cc - +- -X11BASE = /usr/X11R6 - LDIR = -L${X11BASE}/lib - IDIR = -I${X11BASE}/include +-LDIR = -L${X11BASE}/lib +-IDIR = -I${X11BASE}/include ++CC ?= cc -INSTALL = install -- ++LDIR = -L${LOCALBASE}/lib ++IDIR = -I${LOCALBASE}/include + LIBS = -lX11 -lXpm -lXext -CFLAGS = -O -pipe -s -Wall @@ -17,13 +19,12 @@ OBJS = appcore/wmqstat.o\ appcore/srv_proc.o\ -@@ -22,9 +19,6 @@ - +@@ -23,8 +20,5 @@ all: ${OBJS} ${CC} ${CFLAGS} -o wmqstat ${OBJS} ${LDIR} ${LIBS} -- + -install: - ${INSTALL} -o root -g wheel -m 755 wmqstat ${X11BASE}/bin - +- clean: rm -f wmqstat appcore/*.o wmgeneral/*.o core |