1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

* Fix build.

PR:		40889
Submitted by:	Amar Takhar <verm@drunkmonk.net>

* However, this will not build on 64-bit archs.
This commit is contained in:
Christian Weisgerber 2002-07-23 01:27:49 +00:00
parent 55c528c40a
commit 6b3f9f9072
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63420
3 changed files with 29 additions and 23 deletions

View File

@ -15,7 +15,8 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
BROKEN= "Does not build"
# LP64 issues
ONLY_FOR_ARCHS= i386
USE_IMAKE= yes
MAN6= xpipeman.6

View File

@ -1,15 +1,27 @@
*** Imakefile.orig Tue Jul 28 19:56:27 1992
--- Imakefile Sun Apr 12 12:09:36 1998
***************
*** 1,5 ****
! SCORE_FILE = -DSCORE_FILE=\"/usr/games/lib/xpipescores\"
MAXSCORES = -DMAXSCORES=20
DEFINES = $(SCORE_FILE) $(MAXSCORES) -DSYSV
--- 1,5 ----
! SCORE_FILE = -DSCORE_FILE=\"/usr/X11R6/lib/X11/xpipescores\"
MAXSCORES = -DMAXSCORES=20
DEFINES = $(SCORE_FILE) $(MAXSCORES) -DSYSV
--- Imakefile.orig Tue Jul 28 19:56:27 1992
+++ Imakefile Mon Jul 22 14:05:57 2002
@@ -1,7 +1,7 @@
- SCORE_FILE = -DSCORE_FILE=\"/usr/games/lib/xpipescores\"
+ SCORE_FILE = -DSCORE_FILE=\"/usr/X11R6/lib/X11/xpipescores\"
MAXSCORES = -DMAXSCORES=20
- DEFINES = $(SCORE_FILE) $(MAXSCORES) -DSYSV
+ DEFINES = $(SCORE_FILE) $(MAXSCORES)
SRCS = actions.c game.c graphics.c main.c score.c popup.c info.c
OBJS = actions.o game.o graphics.o main.o score.o popup.o info.o
@@ -10,6 +10,9 @@
LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
SYS_LIBRARIES = -lm
+ MANSUFFIX = 6
+ INSTPGMFLAGS = -g games
+
all:: xpipeman
ComplexProgramTarget(xpipeman)
@@ -19,4 +22,3 @@
* InstallManPage(xpipeman,$(MANDIR))
* InstallProgram(xpipeman,$(BINDIR))
*/
-

View File

@ -1,7 +0,0 @@
#!/bin/sh
#echo "LOCAL=$PREFIX" >${WRKSRC}/Imakefile || exit 1;
echo "MANSUFFIX=6" >>${WRKSRC}/Imakefile || exit 1
echo "INSTPGMFLAGS = -s -g games -m 2755" >>${WRKSRC}/Imakefile || exit 1
exit 0