pkgsrc-Bugs archive

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

pkg/26617: libcaca and Linux/pkgsrc



>Number:         26617
>Category:       pkg
>Synopsis:       libcaca doesn't builds on Linux
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 11 14:44:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        Linux 2.6.7
>Organization:
        
>Environment:
        
        
System: Linux bare 2.6.7 #6 Sat Aug 7 12:46:46 VET 2004 i686 GNU/Linux
Architecture: i686
Machine: i686
>Description:
        libcaca doesn't handles libdl automatically.
        
        Apart from that problem I'm not able to run cacafire (segfaults)
        or cacaview(there's no imlib2 dep).
        This pkg must use PKG_OPTIONS to get x11,ncurses,slang,imlib support
        I think

>How-To-Repeat:
        ssh linuxbox ; cd /usr/pkgsrc/graphics/libcaca ; bmake configure
        
>Fix:

--- Makefile.orig       2004-08-11 04:25:16.000000000 -0400
+++ Makefile    2004-08-11 04:26:50.000000000 -0400
@@ -12,9 +12,15 @@
 
 USE_BUILDLINK3=                yes
 USE_PKGLOCALEDIR=      yes
+USE_LIBTOOL=           yes
 GNU_CONFIGURE=         yes
 
 CONFIGURE_ARGS+=       --enable-slang --disable-ncurses
 
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Linux"
+LDFLAGS=-ldl
+.endif
+
 .include "../../devel/libslang/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
        Apply this patch:

        
>Release-Note:
>Audit-Trail:
>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index