From gslin@netnews.NCTU.edu.tw  Sat Aug 12 12:47:56 2006
Return-Path: <gslin@netnews.NCTU.edu.tw>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id EBA6E16A4DE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 12 Aug 2006 12:47:56 +0000 (UTC)
	(envelope-from gslin@netnews.NCTU.edu.tw)
Received: from netnews.NCTU.edu.tw (ccreader.nctu.edu.tw [140.113.54.119])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A7E3C43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 12 Aug 2006 12:47:56 +0000 (GMT)
	(envelope-from gslin@netnews.NCTU.edu.tw)
Received: by netnews.NCTU.edu.tw (Postfix, from userid 1000)
	id F0199371; Sat, 12 Aug 2006 20:47:51 +0800 (CST)
Message-Id: <20060812124751.F0199371@netnews.NCTU.edu.tw>
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: [MAINTAINER] science/svmlight: Fix build on AMD64
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         101917
>Category:       ports
>Synopsis:       [MAINTAINER] science/svmlight: Fix build on AMD64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    clsung
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 12 12:50:16 GMT 2006
>Closed-Date:    Mon Aug 14 02:35:24 GMT 2006
>Last-Modified:  Mon Aug 14 02:35:24 GMT 2006
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->clsung 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Aug 12 12:50:23 UTC 2006 
Responsible-Changed-Why:  
clsung@ wants his PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101917 
State-Changed-From-To: open->closed 
State-Changed-By: clsung 
State-Changed-When: Mon Aug 14 02:35:22 UTC 2006 
State-Changed-Why:  
Committed. Thank You. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101917 
>Unformatted:
