FreeBSD Bugzilla – Attachment 245972 Details for
Bug 274791
games/moonlight-qt Fix missing openssl error when building on Freebsd 12.4-RELEASE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
games/moonlight-qt Fix missing openssl error when building on Freebsd 12.4-RELEASE
0001-games-moonlight-qt-Fix-build-error-for-12.4-RELEASE.patch (text/plain), 1.60 KB, created by
Armin Zhu
on 2023-10-29 13:55:08 UTC
(
hide
)
Description:
games/moonlight-qt Fix missing openssl error when building on Freebsd 12.4-RELEASE
Filename:
MIME Type:
Creator:
Armin Zhu
Created:
2023-10-29 13:55:08 UTC
Size:
1.60 KB
patch
obsolete
>From 80eaa10cb49ea0328cda068dc3c7003d4375aac2 Mon Sep 17 00:00:00 2001 >From: Armin Zhu <lisp_25689@163.com> >Date: Sun, 29 Oct 2023 21:41:39 +0800 >Subject: [PATCH] games/moonlight-qt Fix build error for 12.4-RELEASE > >--- > games/moonlight-qt/Makefile | 20 +++++++++++++++++--- > 1 file changed, 17 insertions(+), 3 deletions(-) > >diff --git a/games/moonlight-qt/Makefile b/games/moonlight-qt/Makefile >index 3bc21934a..92090eef0 100644 >--- a/games/moonlight-qt/Makefile >+++ b/games/moonlight-qt/Makefile >@@ -33,13 +33,27 @@ PLIST_FILES= bin/moonlight-qt \ > share/metainfo/com.moonlight_stream.Moonlight.appdata.xml \ > share/icons/hicolor/scalable/apps/moonlight.svg \ > >+.include <bsd.port.pre.mk> >+ >+# fix ssl dependency lack on 12.x releases >+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 >+LDFLAGS+= -L${LOCALBASE}/lib -L${OPENSSLLIB} -lssl -lcrypto >+.endif >+ > post-patch: >- @${REINPLACE_CMD} -e 's@^ TARGET = moonlight.*@ TARGET = ${PORTNAME}${PKGNAMESUFFIX}@' \ >- ${WRKSRC}/app/app.pro > @${REINPLACE_CMD} -e 's@Exec=moonlight.*@Exec=${PORTNAME}${PKGNAMESUFFIX}@' \ > ${WRKSRC}/app/deploy/linux/com.moonlight_stream.Moonlight.desktop >+ @${REINPLACE_CMD} -e 's@^ TARGET = moonlight.*@ TARGET = ${PORTNAME}${PKGNAMESUFFIX}@' \ >+ ${WRKSRC}/app/app.pro >+ >+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 >+ @${REINPLACE_CMD} -e 's@openssl @@' \ >+ ${WRKSRC}/app/app.pro >+ @${REINPLACE_CMD} -e '/openssl/ d' \ >+ ${WRKSRC}/moonlight-common-c/moonlight-common-c.pro >+.endif > > post-install: > ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >-- >2.42.0 >
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 274791
:
245972
|
246058