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:
parent
2d43213d16
commit
4ab9d6b79c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393534
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user