summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-12-12 14:02:57 +0000
committervs <vs@FreeBSD.org>2005-12-12 14:02:57 +0000
commite81f3ffd6f4d8bf30375540c1bf557039b2df9f7 (patch)
tree0d794fbf546597d235f4a3cd37923285e8c4e6c9 /math
parent282e9663d8690355f023a5ce1515cbe33a00a5ae (diff)
downloadFreeBSD-ports-e81f3ffd6f4d8bf30375540c1bf557039b2df9f7.zip
FreeBSD-ports-e81f3ffd6f4d8bf30375540c1bf557039b2df9f7.tar.gz
Respect X11BASE
PR: ports/90170 Submitted by: maintainer
Diffstat (limited to 'math')
-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 6cde18c..25ee270 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 77468d9..0000000
--- 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
-
OpenPOWER on IntegriCloud