pkgsrc-Bugs archive

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

pkg/34088: gxemul only needs X11 when is requested by pkg-options



>Number:         34088
>Category:       pkg
>Synopsis:       gxemul pkg with -x11 pkg-option depends on X11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 26 08:30:00 +0000 2006
>Originator:     pancake
>Release:        FreeBSD 7.0-CURRENT
>Organization:
        
>Environment:
        
        
System: FreeBSD porticoluna 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue Sep 27 
07:09:02 CEST 2005 root@porticoluna:/usr/src/sys/i386/compile/KERN_PLUNA2 i386
Architecture: i386
Machine: i386
>Description:
        The x11.buildlink.mk must be included inside the pkg-option case.
        
>How-To-Repeat:
        
>Fix:
        

Index: Makefile
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/emulators/gxemul/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- Makefile    25 Jul 2006 17:46:05 -0000      1.21
+++ Makefile    26 Jul 2006 08:17:46 -0000
@@ -39,7 +39,7 @@
 SUBST_SED.x11=         -e 's|-L/usr/X11R6/lib|${GLOBAL_LDFLAGS:Q}|g'
 SUBST_SED.x11+=                -e 's|/usr/X11R6|${X11BASE}|g'
 SUBST_MESSAGE.x11=     Fixing X linking flags.
+.include "../../mk/x11.buildlink3.mk"
 .endif
 
-.include "../../mk/x11.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index