summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-12-12 14:02:57 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-12-12 14:02:57 +0000
commit4d32f37528dae79af23c6573a2676f23c496f278 (patch)
tree20acf2c9de9ed5ff70b2d9a930f8e2f8751f0e3b
parent- Add patch to provide SMTP Authentication on main qmail port. (diff)
Respect X11BASE
PR: ports/90170 Submitted by: maintainer
-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
-