aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-08-14 10:35:15 +0800
committerclsung <clsung@FreeBSD.org>2006-08-14 10:35:15 +0800
commit89a56248a9f89ba300ff2cd27c5532175a20ee3f (patch)
tree092300bd90f12257125e9bb3fe3c63f8a17487a5 /science
parent165b0cd3d5972cb8542b203a69bcbee64febe16d (diff)
downloadfreebsd-ports-gnome-89a56248a9f89ba300ff2cd27c5532175a20ee3f.tar.gz
freebsd-ports-gnome-89a56248a9f89ba300ff2cd27c5532175a20ee3f.tar.zst
freebsd-ports-gnome-89a56248a9f89ba300ff2cd27c5532175a20ee3f.zip
- Fix build on AMD64
- Use USE_LDCONFIG - bump PORTREVISION PR: ports/101917 Submitted by: maintainer (Gea-Suan Lin)
Diffstat (limited to 'science')
-rw-r--r--science/svmlight/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/science/svmlight/Makefile b/science/svmlight/Makefile
index dc3f77bc89b1..4889daa4ffdc 100644
--- a/science/svmlight/Makefile
+++ b/science/svmlight/Makefile
@@ -7,7 +7,7 @@
PORTNAME= svmlight
PORTVERSION= 6.01
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= science
MASTER_SITES= http://kodiak.cs.cornell.edu/svm_light/current/
DISTNAME= svm_light
@@ -20,10 +20,11 @@ COMMENT= An implementation of Support Vector Machines (SVMs) in C
RESTRICTED= only for education and research
-INSTALLS_SHLIB= yes
+CFLAGS+= -fPIC
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LFLAGS="${CFLAGS}"
NO_WRKSUBDIR= yes
USE_GMAKE= yes
+USE_LDCONFIG= yes
post-build:
${CC} ${CFLAGS} -shared -o ${WRKSRC}/libsvmlight.so.1 \