summaryrefslogtreecommitdiff
path: root/games/xminehunter
diff options
context:
space:
mode:
authorJustin M. Seger <jseger@FreeBSD.org>1998-10-14 03:58:36 +0000
committerJustin M. Seger <jseger@FreeBSD.org>1998-10-14 03:58:36 +0000
commitfcf5e39048a1bb85b95a5c88b7502299a1eb139c (patch)
tree395768cd976e9e5afe015cafb7a45fb2b93afd62 /games/xminehunter
parentMark BROKEN for ELF: (diff)
Unbreak.
Submitted by: steve
Notes
Notes: svn path=/head/; revision=13992
Diffstat (limited to 'games/xminehunter')
-rw-r--r--games/xminehunter/Makefile5
-rw-r--r--games/xminehunter/files/patch-aa16
2 files changed, 11 insertions, 10 deletions
diff --git a/games/xminehunter/Makefile b/games/xminehunter/Makefile
index c9b285001adb..f40a36108709 100644
--- a/games/xminehunter/Makefile
+++ b/games/xminehunter/Makefile
@@ -3,7 +3,7 @@
# Date created: 09 January 1997
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.7 1998/09/17 00:32:37 asami Exp $
+# $Id: Makefile,v 1.8 1998/10/13 14:47:14 jseger Exp $
#
DISTNAME= xminehunter-0.4
@@ -13,9 +13,6 @@ MASTER_SITE_SUBDIR= games
MAINTAINER= tg@FreeBSD.ORG
-
-BROKEN_ELF= yes
-
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
USE_X_PREFIX= yes
diff --git a/games/xminehunter/files/patch-aa b/games/xminehunter/files/patch-aa
index 4cc6ac4fc764..79d778a6375a 100644
--- a/games/xminehunter/files/patch-aa
+++ b/games/xminehunter/files/patch-aa
@@ -1,15 +1,19 @@
---- Makefile.orig Mon Jul 22 08:11:34 1996
-+++ Makefile Thu Jan 9 17:28:57 1997
-@@ -1,8 +1,8 @@
+--- Makefile.orig Mon Jul 22 01:11:34 1996
++++ Makefile Tue Oct 13 20:41:49 1998
+@@ -1,9 +1,11 @@
-INSTALL_BIN_PATH = /usr/local/bin
-INSTALL_SCORE_PATH = /usr/local/lib/xminehunter
+-
+-INCLUDES = -I/usr/local/X11R5/include
+-LIBS = -L/usr/local/X11R5/lib -lXm -lXt -lXpm -lXext -lX11
+INSTALL_BIN_PATH = ${X11BASE}/bin
+INSTALL_SCORE_PATH = ${X11BASE}/lib/X11/xminehunter
--INCLUDES = -I/usr/local/X11R5/include
--LIBS = -L/usr/local/X11R5/lib -lXm -lXt -lXpm -lXext -lX11
+INCLUDES = -I${X11BASE}/include
+LIBS = -L${X11BASE}/lib ${MOTIFLIB} -lXt -lXpm -lXext -lX11
-
++.if ${PORTOBJFORMAT} == "elf"
++LIBS+= -Wl,-rpath,${X11BASE}/lib
++.endif
CC = g++
+