summaryrefslogtreecommitdiff
path: root/math/ordCalc/patches/patch-aa
blob: 5c02489eb2462b89d2dbf0f2fdb303559382bc50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-aa,v 1.3 2014/12/03 14:03:21 joerg Exp $

--- src/Makefile.orig	2010-01-17 05:47:28.000000000 +0100
+++ src/Makefile
@@ -27,7 +27,9 @@ SCRIPTS = update.sh srTest.sh cmdIntfcTe
 ALL_FILES = ${SRC} ${HDRS} ${SCRIPTS} Makefile
 
 ord : ${OBJS}
-	g++ -g ${OBJS} -lgmp -lgmpxx -lreadline -lncurses \
+	${LIBTOOL} --mode=link ${CXX} -g ${OBJS} \
+		${COMPILER_RPATH_FLAG}${PREFIX}/lib -L${PREFIX}/lib \
+		-lgmp -lgmpxx -lreadline -lncurses \
 		-o ord 
 
 DOC : ord
@@ -37,7 +39,7 @@ ALL : ord
 	bash update.sh
 
 TEST test.log : ord
-	time bash srTest.sh | tee test.log
+	time bash srTest.sh 2>&1 | tee test.log
 
 ##EXPORT : ${ALL_FILES}
 ##	cp ${ALL_FILES} export/src