Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2001 17:52:18 +1100 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/33161: [patch] x11-clocks/xalarm doesn't install because of man-pages
Message-ID:  <20011225065218.BE68E6D3@k7.mavetju.org>

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

>Number:         33161
>Category:       ports
>Synopsis:       [patch] x11-clocks/xalarm doesn't install because of man-pages
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 24 23:00:09 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju.org 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001 murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC i386

$FreeBSD: ports/x11-clocks/xalarm/Makefile,v 1.7 2001/02/05 17:05:28 olgeni Exp $

>Description:

xalarm doesn't install because it has problems with rman.
Also updated in the Makefile the man-page installation.

>How-To-Repeat:

cd /usr/ports/x11-clocks/xalarm
make install

>Fix:
--- files/old-patch-aa	Tue Dec 25 17:40:46 2001
+++ files/patch-aa	Tue Dec 25 17:42:23 2001
@@ -1,19 +1,20 @@
-*** Imakefile.orig	Wed Dec  4 08:27:18 1996
---- Imakefile	Wed Dec  4 08:27:53 1996
-***************
-*** 23,29 ****
-  /**/#   this may not work if xalarm is invoked from a pseudo terminal).
-  /**/# o Define USECUSERID to use cuserid(3) to get the user name.
-  
-! DEFINES = $(SIGNAL_DEFINES) -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID
-  
-  
-  OBJS = alarm.o when.o warnings.o times.o dates.o file.o fns.o xalarm.o
---- 23,29 ----
-  /**/#   this may not work if xalarm is invoked from a pseudo terminal).
-  /**/# o Define USECUSERID to use cuserid(3) to get the user name.
-  
-! DEFINES = $(SIGNAL_DEFINES) -DFORKRETURNSPID_T -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID
-  
-  
-  OBJS = alarm.o when.o warnings.o times.o dates.o file.o fns.o xalarm.o
+--- Imakefile.orig	Sat Jul 22 00:32:07 1995
++++ Imakefile	Tue Dec 25 17:40:22 2001
+@@ -23,7 +23,7 @@
+ /**/#   this may not work if xalarm is invoked from a pseudo terminal).
+ /**/# o Define USECUSERID to use cuserid(3) to get the user name.
+ 
+-DEFINES = $(SIGNAL_DEFINES) -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID
++DEFINES = $(SIGNAL_DEFINES) -DFORKRETURNSPID_T -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID
+ 
+ 
+ OBJS = alarm.o when.o warnings.o times.o dates.o file.o fns.o xalarm.o
+@@ -51,7 +51,7 @@
+ 	@./config.1st -quick $(WHICH) fortune yow
+ 
+ xmemo.man xyow.man xfortune.man:
+-	echo ".so man"`echo ManSuffix`"/xalarm."`echo ManSuffix` > $@
++	echo ".so xalarm.man" > $@
+ 
+ xfortune::
+ 
--- pkg-plist.old	Tue Dec 25 17:44:19 2001
+++ pkg-plist	Tue Dec 25 17:44:28 2001
@@ -4,8 +4,3 @@
 bin/xyow
 lib/X11/app-defaults/XAlarm
 lib/X11/app-defaults/XAlarm-color
-man/man1/xalarm.1.gz
-man/man1/xmemo.1.gz
-man/man1/xfortune.1.gz
-man/man1/xyow.1.gz
-
--- Makefile.orig	Tue Dec 25 17:43:15 2001
+++ Makefile	Tue Dec 25 17:51:02 2001
@@ -7,6 +7,7 @@
 
 PORTNAME=	xalarm
 PORTVERSION=	3.06
+PORTREVISION=	1
 CATEGORIES=	x11-clocks
 MASTER_SITES=	${MASTER_SITE_XCONTRIB}
 MASTER_SITE_SUBDIR=	utilities
@@ -16,8 +17,9 @@
 USE_IMAKE=	yes
 IS_INTERACTIVE=	yes
 
-pre-install:	
+MAN1=		xalarm.1 xmemo.1 xfortune.1 xyow.1
+
+pre-install:
 	(cd ${WRKSRC} ; ${CP} XAlarm.ad XAlarm-color.ad)
 
 .include <bsd.port.mk>
-
>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?20011225065218.BE68E6D3>