aboutsummaryrefslogtreecommitdiffstats
path: root/games/pp
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-09-28 10:17:33 +0800
committersteve <steve@FreeBSD.org>1998-09-28 10:17:33 +0800
commit1916e744cc40e83c6af8b752af6e44df101db185 (patch)
tree0ad2dbe0ebb710bc48c91024cb7040467086901f /games/pp
parent58e376caa3e219cbfe3c918dc90f09d51e73efff (diff)
downloadfreebsd-ports-gnome-1916e744cc40e83c6af8b752af6e44df101db185.tar.gz
freebsd-ports-gnome-1916e744cc40e83c6af8b752af6e44df101db185.tar.zst
freebsd-ports-gnome-1916e744cc40e83c6af8b752af6e44df101db185.zip
Fix build for ELF.
Diffstat (limited to 'games/pp')
-rw-r--r--games/pp/Makefile4
-rw-r--r--games/pp/files/patch-aa9
2 files changed, 8 insertions, 5 deletions
diff --git a/games/pp/Makefile b/games/pp/Makefile
index 4d3e1d445368..12a7f71af4cd 100644
--- a/games/pp/Makefile
+++ b/games/pp/Makefile
@@ -3,7 +3,7 @@
# Date created: 21 May 1998
# Whom: Andrey Zakhvatov
#
-# $Id: Makefile,v 1.3 1998/08/07 23:56:21 asami Exp $
+# $Id: Makefile,v 1.4 1998/08/12 06:29:28 asami Exp $
#
DISTNAME= pp-0.01
@@ -19,7 +19,7 @@ USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/ppsrc
pre-build:
- @ cd ${WRKSRC}; make depend
+ @ cd ${WRKSRC}; ${MAKE} ${MAKE_ENV} depend
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/pp ${PREFIX}/bin/pp.bin
diff --git a/games/pp/files/patch-aa b/games/pp/files/patch-aa
index 8624f86e9462..c1cb4e9e7b2d 100644
--- a/games/pp/files/patch-aa
+++ b/games/pp/files/patch-aa
@@ -1,6 +1,6 @@
---- Makefile Sat Apr 5 17:08:26 1997
-+++ /home/andy/tmp/wrk/Makefile Mon Jun 8 22:35:44 1998
-@@ -1,10 +1,10 @@
+--- Makefile.orig Sat Apr 5 11:08:26 1997
++++ Makefile Sun Sep 27 15:25:36 1998
+@@ -1,10 +1,13 @@
####### This section was automatically generated from
-INCDIR = $(QTDIR)/include
@@ -10,6 +10,9 @@
YACCCFLAGS = -Wno-unused -Wno-parentheses
-LFLAGS = -L$(QTDIR)/lib -lqt
+LFLAGS = -L${X11BASE}/lib -lqt
++.if ${PORTOBJFORMAT} == "elf"
++LFLAGS+= -Wl,-rpath,${X11BASE}/lib
++.endif
CC = gcc
MOC = moc
SHELL = /bin/sh