Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 20:47:51 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/101917: [MAINTAINER] science/svmlight: Fix build on AMD64
Message-ID:  <20060812124751.F0199371@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608121250.k7CCoGOo012952@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060812124751.F0199371>