aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/mbasecalc/Makefile3
-rw-r--r--math/mbasecalc/files/patch-Makefile11
2 files changed, 2 insertions, 12 deletions
diff --git a/math/mbasecalc/Makefile b/math/mbasecalc/Makefile
index 6cde18c70d9e..25ee2704f15a 100644
--- a/math/mbasecalc/Makefile
+++ b/math/mbasecalc/Makefile
@@ -17,7 +17,8 @@ COMMENT= Simple calculator program inspired by basecalc
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
USE_X_PREFIX= yes
-MAKE_ENV= INCLUDES=-I${X11BASE}/include
+MAKE_ARGS= INCLUDES="-I${X11BASE}/include -I." \
+ LIBS="-L${X11BASE}/lib -lfltk -lX11"
PLIST_FILES= bin/mbasecalc
diff --git a/math/mbasecalc/files/patch-Makefile b/math/mbasecalc/files/patch-Makefile
deleted file mode 100644
index 77468d9370f4..000000000000
--- a/math/mbasecalc/files/patch-Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ru mbasecalc/Makefile mbasecalc.new/Makefile
---- Makefile Mon Jun 4 21:40:53 2001
-+++ Makefile Tue Jun 15 19:49:55 2004
-@@ -7,7 +7,7 @@
- CXX=g++
- DEFS=
- PROGNAME= mbasecalc
--INCLUDES= -I.
-+INCLUDES+= -I.
- LIBS= -L/usr/X11R6/lib -lfltk -lX11
-