1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

- Don't use / in sed regexps to allow paths, unbreaking cross-builds

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-08-04 16:51:20 +00:00
parent 2d43213d16
commit 4ab9d6b79c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393534

View File

@ -21,7 +21,7 @@ USES= perl5
USE_PERL5= configure
post-patch:
@${REINPLACE_CMD} '/^\$$CC/s/g++/${CXX}/; s|/usr/local|${LOCALBASE}|g' \
@${REINPLACE_CMD} '/^\$$CC/s|g++|${CXX}|; s|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/Makefile.PL
# Don't pass any argument to Makefile.PL, it messes up lib detection.