pkgsrc-Users archive

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

Re: qt5-qtbase



On 2019-03-29 17:01, Mark Davies wrote:
I agree.  The hack isn't needed on my ArchLinux boxes.  I can see from
the Joyent Ubuntu bulk builds that it isn't necessary there but the
Joyent CentOS bulk builds show the same issue you were seeing.

I've tried the attached variant of your patch on ArchLinux and confirmed
that it doesn't alter the results there, so if we can't figure out the
root issue shortly, I'll commit that.  Actually as I was writing that
last sentence realised that we also only want to do it if on a 64bit
platform.

cheers
mark


If you really want to play it safe:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/qt5-qtbase/Makefile,v
retrieving revision 1.71
diff -u -r1.71 Makefile
--- Makefile    27 Mar 2019 10:16:34 -0000    1.71
+++ Makefile    29 Mar 2019 23:03:08 -0000
@@ -95,6 +95,9 @@
 LDFLAGS+=        -lresolv
 .  endif
 .elif ${OPSYS} == "Linux"
+.  if ${LOWER_VENDOR} == "redhat" && ${MACHINE_ARCH} == "x86_64"
+CONFIGURE_ARGS+=    -L "/usr/lib64"
+.  endif
 LDFLAGS+=        -ldl
 .elif ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD"
 .  if exists(/usr/lib/libexecinfo.so)
cvs diff: Diffing files
cvs diff: Diffing patches

I just verified that this works on my system.

Cheers,

    JB


Home | Main Index | Thread Index | Old Index