ports/101917: [MAINTAINER] science/svmlight: Fix build on AMD64
Gea-Suan Lin
gslin at gslin.org
Sat Aug 12 12:50:17 UTC 2006
>Number: 101917
>Category: ports
>Synopsis: [MAINTAINER] science/svmlight: Fix build on AMD64
>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: Sat Aug 12 12:50:16 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 build on AMD64
- Use USE_LDCONFIG
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- svmlight-6.01_3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/science/svmlight/Makefile /home/staff/gslin/work/svmlight/Makefile
--- /usr/ports/science/svmlight/Makefile Fri Aug 4 03:27:57 2006
+++ /home/staff/gslin/work/svmlight/Makefile Sat Aug 12 20:46:36 2006
@@ -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 @@
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 \
--- svmlight-6.01_3.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list