Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Sep 1998 18:17:51 -0500 (EST)
From:      Don Croyle <croyle@gelemna.ft-wayne.in.us>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7911: ELF update for games/xconq
Message-ID:  <199809122317.SAA04501@emerson.gelemna.ft-wayne.in.us>

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

>Number:         7911
>Category:       ports
>Synopsis:       ELF update for games/xconq
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 12 16:20:00 PDT 1998
>Last-Modified:
>Originator:     Don Croyle
>Organization:
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:
An ELF -current.
	

>Description:
Updates the games/xconq port so that it builds on an ELF system and
uses the new LIB_DEPENDS format.  Also changes USE_X_PREFIX to
USE_XLIB, since there's no pressing reason to install it in
${X11BASE}.

I am the maintainer.
	

>How-To-Repeat:

	

>Fix:
Apply this patch.  This creates a new file, patches/patch-ag.

	
diff -ruN xconq.old/Makefile xconq/Makefile
--- xconq.old/Makefile	Wed Aug  5 04:30:58 1998
+++ xconq/Makefile	Sat Sep 12 17:43:34 1998
@@ -12,12 +12,12 @@
 
 MAINTAINER=	croyle@gelemna.ft-wayne.in.us
 
-LIB_DEPENDS=	Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
+LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-xpm
 
-USE_X_PREFIX=	yes
+USE_XLIB=	yes
 
 MAN6=		xconq.6 cconq.6
 
diff -ruN xconq.old/patches/patch-ag xconq/patches/patch-ag
--- xconq.old/patches/patch-ag	Wed Dec 31 19:00:00 1969
+++ xconq/patches/patch-ag	Sat Sep 12 17:44:34 1998
@@ -0,0 +1,12 @@
+--- config/mh-freebsd.orig	Tue Jun 30 23:28:35 1998
++++ config/mh-freebsd	Sat Sep 12 16:51:35 1998
+@@ -1,4 +1,8 @@
+ X11_INCLUDE_FLAGS =	-I/usr/X11R6/include
+-X11_LIB_FLAGS =		-L/usr/X11R6/lib
++.if defined(PORTOBJFORMAT) && ${PORTOBJFORMAT} == elf
++  X11_LIB_FLAGS =	-L/usr/X11R6/lib -Wl,-rpath,/usr/X11R6/lib
++.else
++  X11_LIB_FLAGS =	-L/usr/X11R6/lib
++.endif
+ 
+ appdefaultsdir = 	/usr/X11R6/lib/X11/app-defaults	

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



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