aboutsummaryrefslogtreecommitdiffstats
path: root/math/mbasecalc
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-12-12 22:02:57 +0800
committervs <vs@FreeBSD.org>2005-12-12 22:02:57 +0800
commite81f3ffd6f4d8bf30375540c1bf557039b2df9f7 (patch)
tree0d794fbf546597d235f4a3cd37923285e8c4e6c9 /math/mbasecalc
parent282e9663d8690355f023a5ce1515cbe33a00a5ae (diff)
downloadfreebsd-ports-gnome-e81f3ffd6f4d8bf30375540c1bf557039b2df9f7.tar.gz
freebsd-ports-gnome-e81f3ffd6f4d8bf30375540c1bf557039b2df9f7.tar.zst
freebsd-ports-gnome-e81f3ffd6f4d8bf30375540c1bf557039b2df9f7.zip
Respect X11BASE
PR: ports/90170 Submitted by: maintainer
Diffstat (limited to 'math/mbasecalc')
-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
-