mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Somehow, the PerlMagick/Magick.c (and the .o !!) generated by vendor
ended up in the distribution. Be sure to remove the .c, so it gets re-generated from Magick.xs by the Perl installed on the system. It used to work for -current, where Perl happened be similar enough to that of Christy, but broke PerlMagick for (some?) -stable users, where Perl's API is different.
This commit is contained in:
parent
dd4102618b
commit
f6aff3c986
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101234
@ -212,6 +212,9 @@ INSTALL_TARGET= install install-data-html
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
# remove the autogenerated Magick.c so it will be regenerated from
|
||||
# Magick.xs on _this_ system:
|
||||
@${RM} -f ${WRKSRC}/PerlMagick/Magick.c
|
||||
# do not use "-pthread" here
|
||||
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS:S/-pthread/-lc_r/}|g ; \
|
||||
s|-pthread|${PTHREAD_LIBS:S/-pthread/-lc_r/}|g ; \
|
||||
|
Loading…
Reference in New Issue
Block a user