Skip to content

Commit

Permalink
elf lib fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hubertf committed Sep 26, 2000
1 parent 591da6c commit cd9cc02
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions games/xbomber/files/patch-sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$NetBSD: patch-sum,v 1.1 1999/07/09 13:51:01 agc Exp $
$NetBSD: patch-sum,v 1.2 2000/09/26 00:43:20 hubertf Exp $

MD5 (patch-aa) = d4e19a49b4f6caca82ca3432a67e2187
MD5 (patch-aa) = ce8145769fefc8b0ec1214b2b13b9747
MD5 (patch-ab) = f1cdc590d164939e1adc97bf79340e7d
6 changes: 3 additions & 3 deletions games/xbomber/patches/patch-aa
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$NetBSD: patch-aa,v 1.3 1998/08/14 11:26:45 frueauf Exp $
$NetBSD: patch-aa,v 1.4 2000/09/26 00:43:21 hubertf Exp $

--- makefile.orig Fri Jun 19 05:28:34 1998
+++ makefile Fri Aug 14 13:15:08 1998
+++ makefile
@@ -11,15 +11,22 @@

# Makefile user-definable variables------------------------------------------
Expand All @@ -23,7 +23,7 @@ $NetBSD: patch-aa,v 1.3 1998/08/14 11:26:45 frueauf Exp $

# adjust according to target
-XLIB=-L/usr/X11/lib -lX11
+XLIB=-L$(PREFIX)/lib -lX11
+XLIB=-Wl,-R${PREFIX}/lib -L$(PREFIX)/lib -lX11

# uncomment for sunos/solaris
#XLIB=-L/usr/openwin/lib -lX11
Expand Down
4 changes: 2 additions & 2 deletions games/xroads/files/patch-sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$NetBSD: patch-sum,v 1.1 1999/07/09 13:51:04 agc Exp $
$NetBSD: patch-sum,v 1.2 2000/09/26 00:46:05 hubertf Exp $

MD5 (patch-aa) = 917d619333b8572834f13aaebfbe3b82
MD5 (patch-aa) = 1a5c8cf7beb9cf517662fcd14738b03c
MD5 (patch-ab) = ffacf43f8ada5b7cd3841a77cb084b09
8 changes: 4 additions & 4 deletions games/xroads/patches/patch-aa
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$NetBSD: patch-aa,v 1.1.1.1 1999/07/01 02:35:12 hubertf Exp $
$NetBSD: patch-aa,v 1.2 2000/09/26 00:46:05 hubertf Exp $

--- Makefile.orig Thu Jul 1 04:13:17 1999
+++ Makefile Thu Jul 1 04:22:45 1999
--- Makefile.orig Wed Jun 30 20:25:02 1999
+++ Makefile
@@ -5,8 +5,8 @@
# it's data, and BINPATH is where it puts the executable
###########################################################################
Expand All @@ -27,7 +27,7 @@ $NetBSD: patch-aa,v 1.1.1.1 1999/07/01 02:35:12 hubertf Exp $

### Linux machines use this line:
-LINK = -L/usr/X11R6/lib -I/usr/X11R6/include -lX11 -lm
+LINK = -L${X11BASE}/lib -I${X11BASE}/include -lX11 -lm
+LINK = -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -I${X11BASE}/include -lX11 -lm

### I'm told this line works fine on Solaris 2.5.1 with X11R5:
#LINK = -L/usr/openwin/lib -I/usr/openwin/include -lX11 -lm

0 comments on commit cd9cc02

Please sign in to comment.