summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-02-18 19:36:28 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-18 19:36:28 +0100
commit9e0e7290b21e793bb8ee79b0e87e2a2901629e53 (patch)
treeb8d7d37d9ed5c8fcc2c1d445ff00456970c5d489 /package
parent82cc35f96290da01f9522755e76a66d067917c64 (diff)
use this package only for native builds for now
Diffstat (limited to 'package')
-rw-r--r--package/p5-XML-Parser/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/p5-XML-Parser/Makefile b/package/p5-XML-Parser/Makefile
index 6a557dc60..e0c359e90 100644
--- a/package/p5-XML-Parser/Makefile
+++ b/package/p5-XML-Parser/Makefile
@@ -16,16 +16,19 @@ PKG_SITES:= http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/
DISTFILES:= XML-Parser-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/XML-Parser-${PKG_VERSION}
+PKG_CFLINE_P5_XML_PARSER:=depends on ADK_NATIVE
+
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,P5_XML_PARSER,p5-xml-parser,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIG_STYLE:= manual
+XAKE_FLAGS+= CC="$(TARGET_CC)" CCFLAGS="$(TARGET_CFLAGS)"
include $(TOPDIR)/mk/perl.mk
pre-build:
- (cd ${WRKSRC} && perl Makefile.PL)
+ (cd ${WRKSRC} && perl Makefile.PL EXPATLIBPATH=${STAGING_TARGET_DIR}/usr/lib EXPATINCPATH=${STAGING_TARGET_DIR}/usr/include)
post-install:
$(INSTALL_DIR) $(IDIR_P5_XML_PARSER)$(PERL_SITEDIR)