FreeBSD Bugzilla – Attachment 231648 Details for
Bug 260110
devel/dub: fix build with LLVM 13.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
updated patch
dub-2.diff (text/plain), 942 bytes, created by
Hiroo Ono
on 2022-02-08 16:43:26 UTC
(
hide
)
Description:
updated patch
Filename:
MIME Type:
Creator:
Hiroo Ono
Created:
2022-02-08 16:43:26 UTC
Size:
942 bytes
patch
obsolete
>diff --git a/devel/dub/Makefile b/devel/dub/Makefile >index 14c363c6cc..36a38e7f23 100644 >--- a/devel/dub/Makefile >+++ b/devel/dub/Makefile >@@ -1,5 +1,6 @@ > PORTNAME= dub > PORTVERSION= 1.14.0 >+PORTREVISION= 1 > DISTVERSIONPREFIX= v > CATEGORIES= devel > >@@ -17,8 +18,16 @@ GH_ACCOUNT= dlang > > PLIST_FILES= bin/${PORTNAME} > >+.include <bsd.port.pre.mk> >+ > post-patch: > @${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|g' ${WRKSRC}/source/dub/version_.d >+# LLVM 13.0 >+.if (${OSVERSION} >= 1400042) || \ >+ (${OSVERSION} < 1400000 && ${OSVERSION} >= 1300522) || \ >+ (${OSVERSION} < 1300000 && ${OSVERSION} >= 1203505) >+ @${REINPLACE_CMD} -e 's|^$$DMD|$$DMD -L=-Wl,-z,nostart-stop-gc|g' ${WRKSRC}/build.sh >+.endif > > do-build: > @cd ${WRKSRC} && ${SH} build.sh >@@ -26,4 +35,4 @@ do-build: > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME} > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 260110
:
229785
| 231648