Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 1998 15:14:24 +0200 (CEST)
From:      Stefan Eggers <seggers@semyam.dinoco.de>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        seggers@semyam.dinoco.de
Subject:   ports/8284: nethack build made ELF compatible
Message-ID:  <199810121314.PAA29012@semyam.dinoco.de>

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

>Number:         8284
>Category:       ports
>Synopsis:       nethack build made ELF compatible
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 12 07:20:00 PDT 1998
>Last-Modified:
>Originator:     Stefan Eggers
>Organization:
none
>Release:        FreeBSD 3.0-BETA i386
>Environment:

	ELF -current from a few days ago with a similarly recent ports
collection.  The system has ELF XFree86 and Xpm installed.

>Description:

	nethack is marked as broken for ELF.  Adding -rpath to the
linker options fixed the build problem I experienced.  

>How-To-Repeat:

	N/A

>Fix:
	
Index: Makefile
===================================================================
RCS file: /usr2/FreeBSD/CVSROOT/ports/games/nethack/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile	1998/09/28 02:10:56	1.16
+++ Makefile	1998/10/12 10:47:50
@@ -13,8 +13,6 @@
 
 MAINTAINER=	ports@FreeBSD.ORG
 
-BROKEN_ELF=	build
-
 LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm
 
 USE_GMAKE=	yes
Index: patches/patch-aa
===================================================================
RCS file: /usr2/FreeBSD/CVSROOT/ports/games/nethack/patches/patch-aa,v
retrieving revision 1.3
diff -u -r1.3 patch-aa
--- patch-aa	1996/04/22 07:48:58	1.3
+++ patch-aa	1998/10/12 10:52:16
@@ -143,7 +143,7 @@
 -CFLAGS = -O -I../include
 -LFLAGS = 
 +CFLAGS += -O -I../include -I${X11BASE}/include
-+LFLAGS =  -L${X11BASE}/lib
++LFLAGS =  -L${X11BASE}/lib -rpath /usr/X11R6/lib
  
  
  # Set the WINSRC, WINOBJ, and WINLIB lines to correspond to your desired
>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?199810121314.PAA29012>