diff options
author | flo <flo@FreeBSD.org> | 2015-10-12 05:51:28 +0800 |
---|---|---|
committer | flo <flo@FreeBSD.org> | 2015-10-12 05:51:28 +0800 |
commit | 27890a8f4718099427df43db1f42f9f424d56f00 (patch) | |
tree | 89625fffba9d743a336ab289da619612d5f73023 /converters | |
parent | 902fec17484169eb35826e18a77a87b38b8586c0 (diff) | |
download | freebsd-ports-gnome-27890a8f4718099427df43db1f42f9f424d56f00.tar.gz freebsd-ports-gnome-27890a8f4718099427df43db1f42f9f424d56f00.tar.zst freebsd-ports-gnome-27890a8f4718099427df43db1f42f9f424d56f00.zip |
Fixes to r399104. Don't use hard coded /usr/local in patch files, and
replace the correct variables.
Pointy hat to: flo
Diffstat (limited to 'converters')
-rw-r--r-- | converters/p5-XML-WBXML/Makefile | 4 | ||||
-rw-r--r-- | converters/p5-XML-WBXML/files/patch-Makefile.PL | 2 |
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 |