1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
Submitted by:	steve
This commit is contained in:
Justin M. Seger 1998-10-14 03:58:36 +00:00
parent a813665ad4
commit fcf5e39048
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13992
2 changed files with 11 additions and 10 deletions

View File

@ -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

View File

@ -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++