From gslin@staff.pixnet.tw  Fri Jan 30 05:40:49 2009
Return-Path: <gslin@staff.pixnet.tw>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6DC19106566C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 30 Jan 2009 05:40:49 +0000 (UTC)
	(envelope-from gslin@staff.pixnet.tw)
Received: from staff.pixnet.tw (60-199-248-144.static.tfn.net.tw [60.199.248.144])
	by mx1.freebsd.org (Postfix) with ESMTP id 061C98FC13
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 30 Jan 2009 05:40:48 +0000 (UTC)
	(envelope-from gslin@staff.pixnet.tw)
Received: from staff.pixnet.tw (gslin@localhost [127.0.0.1])
	by staff.pixnet.tw (8.14.3/8.14.3) with ESMTP id n0U5elIv018951;
	Fri, 30 Jan 2009 13:40:47 +0800 (CST)
	(envelope-from gslin@staff.pixnet.tw)
Received: (from gslin@localhost)
	by staff.pixnet.tw (8.14.3/8.14.3/Submit) id n0U5eki9018950;
	Fri, 30 Jan 2009 13:40:46 +0800 (CST)
	(envelope-from gslin)
Message-Id: <200901300540.n0U5eki9018950@staff.pixnet.tw>
Date: Fri, 30 Jan 2009 13:40:46 +0800 (CST)
From: Gea-Suan Lin <gslin@gslin.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: skv@freebsd.org, gslin@gslin.org
Subject: [PATCH] textproc/p5-XML-LibXSLT: Fix build
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         131147
>Category:       ports
>Synopsis:       [PATCH] textproc/p5-XML-LibXSLT: Fix build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    skv
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 30 05:50:01 UTC 2009
>Closed-Date:    Sat Feb 14 21:51:36 UTC 2009
>Last-Modified:  Sat Feb 14 22:00:08 UTC 2009
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 7.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD staff.pixnet.tw 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #3: Fri Jan 30 06:37:38 CST 2009
>Description:
- Build error in my environment:

===>  Configuring for p5-XML-LibXSLT-1.68
looking for -lxslt... no
libxslt not found
Try setting LIBS and INC values on the command line
Or get libxslt and libxml2 from
http://www.libxml.org/
If you install via RPMs, make sure you also install the -devel
RPMs, as this is where the headers (.h files) are.
Can't open Makefile: No such file or directory.

- Add LIBS to CONFIGURE_ARGS will fix this.

Port maintainer (skv@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-XML-LibXSLT-1.68.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/textproc/p5-XML-LibXSLT/Makefile /usr/home/admin/gslin/work/ports/p5-XML-LibXSLT/Makefile
--- /usr/ports/textproc/p5-XML-LibXSLT/Makefile	2008-11-30 18:19:02.000000000 +0800
+++ /usr/home/admin/gslin/work/ports/p5-XML-LibXSLT/Makefile	2009-01-30 13:38:58.000000000 +0800
@@ -20,7 +20,8 @@
 		xslt.2:${PORTSDIR}/textproc/libxslt
 
 PERL_CONFIGURE=	yes
-CONFIGURE_ARGS=	INC='-I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2'
+CONFIGURE_ARGS=	INC="-I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2" \
+		LIBS="-L${LOCALBASE}/lib"
 
 MAN3=		XML::LibXSLT.3
 
--- p5-XML-LibXSLT-1.68.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->skv 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Jan 30 05:50:11 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131147 
State-Changed-From-To: open->closed 
State-Changed-By: skv 
State-Changed-When: Sat Feb 14 21:51:19 UTC 2009 
State-Changed-Why:  
Committed, thank you! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131147 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/131147: commit references a PR
Date: Sat, 14 Feb 2009 21:51:12 +0000 (UTC)

 skv         2009-02-14 21:51:03 UTC
 
   FreeBSD ports repository
 
   Modified files:
     textproc/p5-XML-LibXSLT Makefile 
   Log:
   Add LIBS to CONFIGURE_ARGS to fix build.
   
   PR:             ports/131147
   Submitted by:   Gea-Suan Lin <gslin xx gslin.org>
   
   Revision  Changes    Path
   1.21      +2 -1      ports/textproc/p5-XML-LibXSLT/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
