pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: WxGTK28 (or GTK) having problems in 2010Q3 (and current)
On Tue, 26 Oct 2010 19:45:38 +0900, Stefano Marinelli
<postnet%dragas.dyndns.org@localhost> wrote:
Ah, glu also must be moved.
Yes, now it's compiling :)
Thank you. Maybe it should also be fixed in current and 2010Q3
wxGTK26, wxGTK24 (and probably others) have same issue.
How about following patch?
Adding non X11BASE rpath to ${LDFLAGS} first.
Index: mk/buildlink3/bsd.buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/buildlink3/bsd.buildlink3.mk,v
retrieving revision 1.208
diff -u -r1.208 bsd.buildlink3.mk
--- mk/buildlink3/bsd.buildlink3.mk 2 May 2010 18:32:29 -0000 1.208
+++ mk/buildlink3/bsd.buildlink3.mk 27 Oct 2010 11:42:06 -0000
@@ -500,7 +500,7 @@
CXXFLAGS+= ${_flag_}
. endif
.endfor
-.for _flag_ in ${BUILDLINK_LDFLAGS}
+.for _flag_ in
${BUILDLINK_LDFLAGS:N${COMPILER_RPATH_FLAG}${X11BASE}/lib${LIBABISUFFIX}}
${BUILDLINK_LDFLAGS:M${COMPILER_RPATH_FLAG}${X11BASE}/lib${LIBABISUFFIX}}
. if empty(LDFLAGS:M${_flag_:S/:/\\:/g})
LDFLAGS+= ${_flag_}
. endif
--
OBATA Akio / obache%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index