aboutsummaryrefslogtreecommitdiff
path: root/finance/xtrader
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
commit216b5a285fdcc1456a307fcc60f3507c20d613eb (patch)
treed0c8617b772b8f0a175d436d938b8d844590b41f /finance/xtrader
parentb829518a7d432b7cc2546fde7f032238d1db13dc (diff)
downloadports-216b5a285fdcc1456a307fcc60f3507c20d613eb.tar.gz
ports-216b5a285fdcc1456a307fcc60f3507c20d613eb.zip
Notes
Diffstat (limited to 'finance/xtrader')
-rw-r--r--finance/xtrader/Makefile1
-rw-r--r--finance/xtrader/files/patch-Makefile.linux6
2 files changed, 3 insertions, 4 deletions
diff --git a/finance/xtrader/Makefile b/finance/xtrader/Makefile
index ef4bbcd8cb75..01d2b2c46eeb 100644
--- a/finance/xtrader/Makefile
+++ b/finance/xtrader/Makefile
@@ -13,7 +13,6 @@ COMMENT= Technical analysis program for financial instruments
LIB_DEPENDS= libptypes.so:${PORTSDIR}/devel/ptypes \
libfltk.so.1:${PORTSDIR}/x11-toolkits/fltk
-MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
MAKEFILE= Makefile.linux
USE_XORG= x11 xpm
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
diff --git a/finance/xtrader/files/patch-Makefile.linux b/finance/xtrader/files/patch-Makefile.linux
index 25fcad4a1e59..387ee358495e 100644
--- a/finance/xtrader/files/patch-Makefile.linux
+++ b/finance/xtrader/files/patch-Makefile.linux
@@ -6,11 +6,11 @@
-CFLAGS= -march=i586 -O3 -Wall -Wno-format-y2k
-LFLAGS= -L/usr/local/lib -lz -lfltk -lptypes -lexpat -L/usr/X11R6/lib -lm -lXpm -lX11 -ldl -lpthread -lXft
-LFLAGS2= -L/usr/local/lib -lfltk_ -lptypes -L/usr/X11R6/lib -lXpm -lX11 -ldl -lpthread
-+COMP= $(CC)
++COMP= $(CXX)
+IFLAGS= -I../util -Isrc -I$(LOCALBASE)/include -I$(LOCALBASE)/include/ptypes
+CFLAGS:= $(CFLAGS) -Wno-format-y2k
-+LFLAGS= -L$(LOCALBASE)/lib -lz -lfltk -lptypes -lexpat -lm -lXpm -lX11 $(PTHREAD_LIBS) -lXft -lcompat
-+LFLAGS2= -L$(LOCALBASE)/lib -lfltk -lptypes -lXpm -lX11 $(PTHREAD_LIBS)
++LFLAGS= -L$(LOCALBASE)/lib -lz -lfltk -lptypes -lexpat -lm -lXpm -lX11 -pthread -lXft -lcompat
++LFLAGS2= -L$(LOCALBASE)/lib -lfltk -lptypes -lXpm -lX11 -pthread
XTRADER= xtrader
XTRADER2= xtrader.static