diff options
author | clsung <clsung@FreeBSD.org> | 2006-08-03 15:07:22 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2006-08-03 15:07:22 +0800 |
commit | e3ecea69bdfb86e1a57ae0d31c01d77a5c3c007f (patch) | |
tree | d85a731c487bceded892a736c1dca09e6e3efb7f /science/svmlight | |
parent | 7ded679d27a3a7e8a73fa08d1fea0ab346d14648 (diff) | |
download | freebsd-ports-gnome-e3ecea69bdfb86e1a57ae0d31c01d77a5c3c007f.tar.gz freebsd-ports-gnome-e3ecea69bdfb86e1a57ae0d31c01d77a5c3c007f.tar.zst freebsd-ports-gnome-e3ecea69bdfb86e1a57ae0d31c01d77a5c3c007f.zip |
- Fix library
- Use NO_WRKSUBDIR=yes instead of WRKSRC=${WRKDIR}
- bump PORTREVISION
PR: ports/101302
Submitted by: maintainer (Gea-Suan Lin)
Diffstat (limited to 'science/svmlight')
-rw-r--r-- | science/svmlight/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/science/svmlight/Makefile b/science/svmlight/Makefile index 1ade82f8e34c..dc3f77bc89b1 100644 --- a/science/svmlight/Makefile +++ b/science/svmlight/Makefile @@ -7,7 +7,7 @@ PORTNAME= svmlight PORTVERSION= 6.01 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science MASTER_SITES= http://kodiak.cs.cornell.edu/svm_light/current/ DISTNAME= svm_light @@ -22,11 +22,13 @@ RESTRICTED= only for education and research INSTALLS_SHLIB= yes MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LFLAGS="${CFLAGS}" +NO_WRKSUBDIR= yes USE_GMAKE= yes -WRKSRC= ${WRKDIR} post-build: - ${CC} ${CFLAGS} -shared -o ${WRKSRC}/libsvmlight.so.1 ${WRKSRC}/libsvmlight.a + ${CC} ${CFLAGS} -shared -o ${WRKSRC}/libsvmlight.so.1 \ + ${WRKSRC}/svm_common.o ${WRKSRC}/svm_hideo.o \ + ${WRKSRC}/svm_learn.o do-install: ${MKDIR} ${PREFIX}/include/svmlight |