pkgsrc-Bugs archive

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

Re: pkg/39328: xchat fails to build on Darwin



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

From: Adrian Portelli <adrianp%stindustries.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: OBATA Akio <obache%NetBSD.org@localhost>
Subject: Re: pkg/39328: xchat fails to build on Darwin
Date: Sun, 10 Aug 2008 13:08:05 +0100

 OBATA Akio wrote:
 > The following reply was made to PR pkg/39328; it has been noted by GNATS.
 > 
 > From: "OBATA Akio" <obache%netbsd.org@localhost>
 > To: gnats-bugs%netbsd.org@localhost
 > Cc: 
 > Subject: Re: pkg/39328: xchat fails to build on Darwin
 > Date: Sun, 10 Aug 2008 14:49:43 +0900
 > 
 >  Removing follwing line from Makefile avoid the problem?
 >  
 >  CONFIGURE_ARGS+=        --enable-xft
 >   
 >  
 
 Thanks, that fixed it.  I ended up going with the following patch:
 
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/chat/xchat/Makefile,v
 retrieving revision 1.58
 diff -u -r1.58 Makefile
 --- Makefile   5 Aug 2008 20:36:42 -0000       1.58
 +++ Makefile   10 Aug 2008 12:05:53 -0000
 @@ -18,7 +18,6 @@
   CONFIGURE_ARGS+=     --enable-tcl=no
   CONFIGURE_ARGS+=     --disable-perl
   CONFIGURE_ARGS+=     --disable-python
 -CONFIGURE_ARGS+=      --enable-xft
 
   LDFLAGS.IRIX+=               -lX11
 
 @@ -31,13 +30,15 @@
   .include "../../x11/gtk2/buildlink3.mk"
 
   .if ${OPSYS} == "Darwin"
 +CONFIGURE_ARGS+=      --disable-xft
   INSTALL_UNSTRIPPED=  YES
 -
 -.if empty(PKG_BUILD_OPTIONS.gtk2:Mquartz)
 +. if empty(PKG_BUILD_OPTIONS.gtk2:Mquartz)
   LDFLAGS.Darwin+=     -lX11
 -.else
 +. else
   CONFIGURE_ARGS+=     --disable-xlib
 -.endif
 +. endif
 +.else
 +CONFIGURE_ARGS+=      --enable-xft
   .endif
 
   INSTALLATION_DIRS+=  share/doc/xchat lib/xchat/plugins
 


Home | Main Index | Thread Index | Old Index