freebsd-ports/games/wmqstat/files/patch-Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

30 lines
654 B
Text

--- ./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
-
-X11BASE = /usr/X11R6
-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
+CFLAGS ?= -O -pipe -s -Wall
OBJS = appcore/wmqstat.o\
appcore/srv_proc.o\
@@ -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