summaryrefslogtreecommitdiff
path: root/games/pp
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-09-28 02:17:33 +0000
committerSteve Price <steve@FreeBSD.org>1998-09-28 02:17:33 +0000
commitc1e62c442c320ff68dcc77298b2a82d5f9c6892c (patch)
tree0b6c46fa360e6a27c985023f6dcc5c2013994c9e /games/pp
parentMove manpages from pkg/PLIST to MAN* macro in Makefile and remove (diff)
Fix build for ELF.
Notes
Notes: svn path=/head/; revision=13497
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