Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 21:14:30 -0600 (CST)
From:      Josh Tolbert <hemi@puresimplicity.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/183910: [maintainer update] Fix x11/xscreensaver.app to build on 10.0
Message-ID:  <201311130314.rAD3EUrV006442@just.puresimplicity.net>
Resent-Message-ID: <201311130330.rAD3U02D034973@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183910
>Category:       ports
>Synopsis:       [maintainer update] Fix x11/xscreensaver.app to build on 10.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 13 03:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Josh Tolbert <hemi@puresimplicity.net>
>Release:        FreeBSD 10.0-BETA3 i386
>Organization:
>Environment:
System: FreeBSD beta 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257580: Sun Nov  3 21:15:32 UTC 2013     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
x11/xscreensaver.app needed some fixing up to build properly on 10.0. Build
and install tested on both 10.0 and 9.2.
>How-To-Repeat:
On a 10.0 machine, cd /usr/ports/x11/xscreensaver.app && make install clean

Watch the build break with a linker error.
>Fix:
Apply attached patch.

--- xscreensaver.app.diff begins here ---
diff -ruN xscreensaver.app.orig/Makefile xscreensaver.app/Makefile
--- xscreensaver.app.orig/Makefile	2013-11-12 20:08:33.000000000 -0600
+++ xscreensaver.app/Makefile	2013-11-12 20:07:06.000000000 -0600
@@ -17,7 +17,7 @@
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-MAKE_ARGS=	"LDFLAGS+=-L${LOCALBASE}/lib"
+MAKE_ARGS=	"LDFLAGS+=-L${LOCALBASE}/lib -lX11"
 
 NO_STAGE=	yes
 .include <bsd.port.mk>
--- xscreensaver.app.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311130314.rAD3EUrV006442>