Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2009 13:40:46 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org, skv@FreeBSD.org
Subject:   ports/131147: [PATCH] textproc/p5-XML-LibXSLT: Fix build
Message-ID:  <200901300540.n0U5eki9018950@staff.pixnet.tw>
Resent-Message-ID: <200901300550.n0U5o2A3050892@freefall.freebsd.org>

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

>Number:         131147
>Category:       ports
>Synopsis:       [PATCH] textproc/p5-XML-LibXSLT: Fix build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 30 05:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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