ports/101302: [MAINTAINER] science/svmlight: Fix library
Gea-Suan Lin
gslin at gslin.org
Thu Aug 3 07:00:35 UTC 2006
>Number: 101302
>Category: ports
>Synopsis: [MAINTAINER] science/svmlight: Fix library
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 03 07:00:29 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Gea-Suan Lin
>Release: FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Fix library
- Use NO_WRKSUBDIR=yes instead of WRKSRC=${WRKDIR}
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- svmlight-6.01_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/science/svmlight/Makefile /home/staff/gslin/work/svmlight/Makefile
--- /usr/ports/science/svmlight/Makefile Thu Aug 3 12:47:43 2006
+++ /home/staff/gslin/work/svmlight/Makefile Thu Aug 3 14:54:37 2006
@@ -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 @@
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
--- svmlight-6.01_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list