aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2015-10-11 21:51:28 +0000
committerFlorian Smeets <flo@FreeBSD.org>2015-10-11 21:51:28 +0000
commitc9bc1101fc8175bdca059ad7b0b8ea099fd93a52 (patch)
tree89625fffba9d743a336ab289da619612d5f73023 /converters
parente1bb2b03af7c352fb3c74621e800fc7ebcd7adf9 (diff)
downloadports-c9bc1101fc8175bdca059ad7b0b8ea099fd93a52.tar.gz
ports-c9bc1101fc8175bdca059ad7b0b8ea099fd93a52.zip
Notes
Diffstat (limited to 'converters')
-rw-r--r--converters/p5-XML-WBXML/Makefile4
-rw-r--r--converters/p5-XML-WBXML/files/patch-Makefile.PL2
2 files changed, 3 insertions, 3 deletions
diff --git a/converters/p5-XML-WBXML/Makefile b/converters/p5-XML-WBXML/Makefile
index 3ac4f88b64f5..a3898d32a3bf 100644
--- a/converters/p5-XML-WBXML/Makefile
+++ b/converters/p5-XML-WBXML/Makefile
@@ -3,7 +3,7 @@
PORTNAME= XML-WBXML
PORTVERSION= 0.09
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= converters perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -20,7 +20,7 @@ USES= perl5
USE_PERL5= configure
post-patch:
- @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile.PL
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Makefile.PL
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/XML/WBXML/WBXML.so
diff --git a/converters/p5-XML-WBXML/files/patch-Makefile.PL b/converters/p5-XML-WBXML/files/patch-Makefile.PL
index ece4876d8a4e..0e9435a435f2 100644
--- a/converters/p5-XML-WBXML/files/patch-Makefile.PL
+++ b/converters/p5-XML-WBXML/files/patch-Makefile.PL
@@ -8,7 +8,7 @@
+ LIBS => ['-L%%LOCALBASE%%/lib -lwbxml2'], # e.g., '-lm'
DEFINE => '', # e.g., '-DHAVE_SOMETHING'
- INC => '-I.', # e.g., '-I. -I/usr/include/other'
-+ INC => '-I. -I%%LOCALBASE%%/include -I/usr/local/include/libwbxml-1.0/wbxml', # e.g., '-I. -I/usr/include/other'
++ INC => '-I. -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/libwbxml-1.0/wbxml', # e.g., '-I. -I/usr/include/other'
# Un-comment this if you add C files to link with later:
# OBJECT => '$(O_FILES)', # link all the C files too