Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 34260
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: schwern [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: typemap finding is broken without ExtUtils::ParseXS
Date: Wed, 19 Mar 2008 14:37:21 -0700
To: bug-Module-Build [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
I just noticed that the typemap finding code (the stuff without ExtUtils::ParseXS) is looking in lib/ and then passes on just "-typemap typemap" to xsubpp rather than the full path. This results in xsubpp looking in the top directory for typemap. So custom typemaps can never work. I believe the correct thing to do is to look in dirname($file) (ie. lib/Foo) and to pass the full typemap path to xsubpp. I'll patch that in as soon as I fix SVK. -- 94. Crucifixes do not ward off officers, and I should not test that. -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army http://skippyslist.com/list/
I fixor'd it.