aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-05-24 00:31:28 +0800
committervs <vs@FreeBSD.org>2005-05-24 00:31:28 +0800
commit732136c435c773bad06aac07b928ad631384388f (patch)
treead224ca6bc914fcc1b6f65451cb42d22ce08f037
parent802bdfc5a83ae87b9cf656ff3610d2655e5ea4aa (diff)
downloadfreebsd-ports-graphics-732136c435c773bad06aac07b928ad631384388f.tar.gz
freebsd-ports-graphics-732136c435c773bad06aac07b928ad631384388f.tar.zst
freebsd-ports-graphics-732136c435c773bad06aac07b928ad631384388f.zip
Use MAKE_ARGS
-rw-r--r--misc/wmproxyper/Makefile2
-rw-r--r--misc/wmproxyper/files/patch-Makefile15
2 files changed, 2 insertions, 15 deletions
diff --git a/misc/wmproxyper/Makefile b/misc/wmproxyper/Makefile
index 003043e4758..1e622e878fc 100644
--- a/misc/wmproxyper/Makefile
+++ b/misc/wmproxyper/Makefile
@@ -21,6 +21,8 @@ PLIST_FILES= bin/wmproxyper
USE_GMAKE= yes
USE_XPM= yes
USE_X_PREFIX= yes
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" INC=-I${X11BASE}/include \
+ LIBS="-lXext -lX11 -lm -L${LOCALBASE}/lib -L${X11BASE}/lib -lXpm -ldockapp"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
diff --git a/misc/wmproxyper/files/patch-Makefile b/misc/wmproxyper/files/patch-Makefile
deleted file mode 100644
index 7b695b8e524..00000000000
--- a/misc/wmproxyper/files/patch-Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
---- Makefile.orig Fri Dec 17 15:50:07 1999
-+++ Makefile Sun Jun 23 20:51:05 2002
-@@ -1,9 +1,8 @@
--CC = gcc
--INC = -I/usr/X11R6/include
--LIBS = -lXext -lX11 -lm -L/usr/local/lib -L/usr/X11R6/lib -lXpm -ldockapp
-+INC = -I${X11BASE}/include
-+LIBS = -lXext -lX11 -lm -L${LOCALBASE}/lib -L${X11BASE}/lib -lXpm -ldockapp
- SRCS = WMProxyPer.c
- OBJS = WMProxyPer.o
--CFLAGS = -ggdb -Wall -ansi -pedantic
-+CFLAGS += -Wall -ansi -pedantic
-
- all: wmproxyper
-