pkgsrc-Bugs archive

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

Re: pkg/43943: gtk2+ build fails to find installed devel/pango on NetBSD-5.1_RC4/i386



The following reply was made to PR pkg/43943; it has been noted by GNATS.

From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/43943: gtk2+ build fails to find installed devel/pango on
 NetBSD-5.1_RC4/i386
Date: Wed, 27 Oct 2010 22:29:41 +0900

 How about following patch?
 Adding X11BASE related rpath to LDFLAGS later.
 
 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 13:27:17 -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
 


Home | Main Index | Thread Index | Old Index