Bug 45984 - the port 'p5-XML-Sablotron' does not work
Summary: the port 'p5-XML-Sablotron' does not work
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: skv
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-04 05:10 UTC by Kevin Thompson
Modified: 2003-03-04 14:27 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Thompson 2002-12-04 05:10:01 UTC
	The build for p5-XML-Sablotron fails, stating that it is missing header files.

How-To-Repeat: 	cd /usr/ports/textproc/p5-XML-Sablotron; make build 

	Dump from term:

	corrugated(/usr/ports/textproc/p5-XML-Sablotron) # make build
	===>  Building for p5-XML-Sablotron-0.96
	cc -c        -DVERSION=\"0.96\"  -DXS_VERSION=\"0.96\" -DPIC -fpic -I/usr/libdata/perl/5.00503/mach/CORE  DOM.c
	DOM.xs:39: sdom.h: No such file or directory
	DOM.xs:40: sablot.h: No such file or directory
	*** Error code 1

	Stop in /usr/ports/textproc/p5-XML-Sablotron/work/XML-Sablotron-0.96/Sablotron.
	*** Error code 1

	Stop in /usr/ports/textproc/p5-XML-Sablotron/work/XML-Sablotron-0.96.
	*** Error code 1

	Stop in /usr/ports/textproc/p5-XML-Sablotron.
	corrugated(/usr/ports/textproc/p5-XML-Sablotron) #
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2002-12-10 18:18:51 UTC
Responsible Changed
From-To: freebsd-ports->skv

Over to Maintainer
Comment 2 edwin 2003-02-13 00:56:42 UTC
Add this patch and it works again:
[~/ports/textproc/p5-XML-Sablotron] edwin@ref5>cat files/patch-Sablotron\:\:Makefile.PL 
--- Sablotron/Makefile.PL.old   Wed Feb 12 16:48:48 2003
+++ Sablotron/Makefile.PL       Wed Feb 12 16:49:22 2003
@@ -8,6 +8,7 @@
     'PREREQ_PM'                => {}, # e.g., Module::Name => 1.1
     'LIBS'             => $libs, # e.g., '-lm'
     'DEFINE'           => '', # e.g., '-DHAVE_SOMETHING'
+    'INC'              => '-I%%PREFIX%%/include',
     @extras,
 );
 
Sergey, shall I add this patch?

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin@mavetju.org    |    Weblog: http://www.mavetju.org/weblog/weblog.php
Comment 3 skv freebsd_committer freebsd_triage 2003-03-04 14:27:24 UTC
State Changed
From-To: open->closed

Fixed.