pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/56236: Patch FreeBSD link errors, "can't create dynamic relocation R_386_32 ..."



On 05.06.21 17:15, ota%j.email.ne.jp@localhost wrote:

Index: multimedia/x265/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/x265/Makefile,v
retrieving revision 1.34
diff -u -r1.34 Makefile
--- multimedia/x265/Makefile    10 Apr 2021 08:36:03 -0000      1.34
+++ multimedia/x265/Makefile    5 Jun 2021 14:16:05 -0000
@@ -23,8 +23,9 @@
  .include "options.mk"

  .include "../../mk/bsd.prefs.mk"
+
  .if ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "i386"
-.  if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "i386"
+.  if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" && ${MACHINE_ARCH} == "i386
"
  # Avoid text relocations
  CMAKE_ARGS+=   -DENABLE_ASSEMBLY=OFF
  .  else


Hi Yoshihiro,

Thanks for your patches. I've committed your suggestion for x265.
I am hesitant to commit the other changes because I simply don't
understand them.

Hopefully someone will continue from here.

Best,
Dan




Home | Main Index | Thread Index | Old Index