Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2000 02:12:14 +0900 (JST)
From:      k5@cheerful.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23424: fix: games/awele X manpage error with XFree86-4 
Message-ID:  <20001210171214.DFD2A5EBD@kyoto-tc012-p22.alpha-net.ne.jp>
Resent-Message-ID: <200012101720.eBAHK2V02897@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         23424
>Category:       ports
>Synopsis:       fix: games/awele X manpage error with XFree86-4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 10 09:20:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     FUJISHIMA Satsuki
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
N/A
>Environment:
	ports-current with XFree86-4.
>Description:
	fixing "X manpage" error with XFree86-4 on bento.
>How-To-Repeat:
	w3m -dump http://bento.freebsd.org/errorlogs/errorlogs/e.4.20001204/ \|
	grep 'X manpage'
>Fix:

	NOTE:
	honor CC.
	/usr/bin/perl -> ${PERL}

diff -urN -xCVS /usr/ports/games/awele/Makefile games/awele/Makefile
--- /usr/ports/games/awele/Makefile	Sun Apr 16 19:44:45 2000
+++ games/awele/Makefile	Sun Dec 10 18:53:11 2000
@@ -17,13 +17,9 @@
 
 WRKSRC=		${WRKDIR}/awele
 USE_IMAKE=	yes
-NO_INSTALL_MANPAGES=	yes
 MAN6=		xawele.6
 
 post-patch:
-	@/usr/bin/perl -pi -e "s|\@\@LOCALBASE\@\@|${LOCALBASE}|g;" ${WRKSRC}/Imakefile
-
-post-install:
-	${INSTALL_DATA} ${WRKSRC}/xawele.man ${PREFIX}/man/man6/xawele.6
+	${PERL} -pi -e "s|\@\@LOCALBASE\@\@|${LOCALBASE}|g;" ${WRKSRC}/Imakefile
 
 .include <bsd.port.mk>
diff -urN -xCVS /usr/ports/games/awele/files/patch-aa games/awele/files/patch-aa
--- /usr/ports/games/awele/files/patch-aa	Mon Nov 29 03:30:47 1999
+++ games/awele/files/patch-aa	Sun Dec 10 18:57:00 2000
@@ -1,6 +1,6 @@
---- Imakefile.orig	Fri Dec  8 16:35:38 1995
-+++ Imakefile	Fri May  1 09:44:16 1998
-@@ -2,14 +2,14 @@
+--- Imakefile.orig	Sat Dec  9 00:35:38 1995
++++ Imakefile	Wed Nov  1 06:58:15 2000
+@@ -2,31 +2,31 @@
  
  
  XCOMM install directory
@@ -18,3 +18,26 @@
      DEFINES = $(TK_INCLUDE) 
      LOCAL_LIBRARIES = $(TK_LIB) -lX11 -lm
  XCOMM ANSI-C compiler
+-    CC = gcc
++XCOMM    CC = gcc
+ 
+ XCOMM Please don't change anything below this point 
+ 
+     DEPLIBS = $(DEPXLIB)
+ 
+-    SRCS1 = 	tkAppInit.c awelewish.c alphabeta.c move.c util.c
+-    OBJS1 = 	tkAppInit.o awelewish.o alphabeta.o move.o util.o
++    SRCS = 	tkAppInit.c awelewish.c alphabeta.c move.c util.c
++    OBJS = 	tkAppInit.o awelewish.o alphabeta.o move.o util.o
+ 
+     PROGRAMS = awelewish
++    MANSUFFIX = 6
+ 
+-all::	$(PROGRAMS)
+-
+-ComplexProgramTarget_1($(PROGRAMS), $(LOCAL_LIBRARIES), )
++ComplexProgramTargetNoMan($(PROGRAMS))
++InstallManPage(xawele,$(MANDIR))
+ 
+ install:: $(PROGRAMS) $(AWELE_SCRIPT)
+ 	@echo "AWELE directory is " $(AWELE_DIR) 

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001210171214.DFD2A5EBD>