Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2000 04:01:48 +0900 (JST)
From:      k5@cheerful.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23445: fix: graphics/plotmtv X manpage error with XFree86-4 
Message-ID:  <20001210190148.084805EC3@kyoto-tc012-p22.alpha-net.ne.jp>
Resent-Message-ID: <200012101910.eBAJA1A18760@freefall.freebsd.org>

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

>Number:         23445
>Category:       ports
>Synopsis:       fix: graphics/plotmtv 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 11:10:01 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.
	approved by MAINTAINER.

>How-To-Repeat:
	w3m -dump http://bento.freebsd.org/errorlogs/errorlogs/e.4.20001204/ \|
	grep 'X manpage'
>Fix:

	NOTE:
	instantly suppressing malloc.h warnings.
	honor CFLAGS.
	patch-aa was splitted into patch-a[acd]
	new files: files/patch-a[cd]

diff -urN -xCVS /usr/ports/graphics/plotmtv/Makefile graphics/plotmtv/Makefile
--- /usr/ports/graphics/plotmtv/Makefile	Fri Apr 14 19:47:02 2000
+++ graphics/plotmtv/Makefile	Wed Nov  1 21:33:25 2000
@@ -17,12 +17,13 @@
 MAINTAINER=	giffunip@asme.org
 
 USE_IMAKE=	yes
-NO_INSTALL_MANPAGES=	yes
 ALL_TARGET=	World
 MAN1=		plotmtv.1
 
+post-patch:
+	find ${WRKSRC} -name \*.c | xargs ${PERL} -pi.malloc.h -e 's/<malloc.h>/<stdlib.h>/'
+
 post-install:
-	@${INSTALL_MAN} ${WRKSRC}/Docs/plotmtv.man ${PREFIX}/man/man1/plotmtv.1
 .if !defined(NOPORTDOCS)
 	@${MKDIR}  ${PREFIX}/share/doc/plotmtv/Tests
 	@${INSTALL_DATA} ${WRKSRC}/Docs/DataFormat.ps.Z \
diff -urN -xCVS /usr/ports/graphics/plotmtv/files/patch-aa graphics/plotmtv/files/patch-aa
--- /usr/ports/graphics/plotmtv/files/patch-aa	Thu Jun 19 21:35:52 1997
+++ graphics/plotmtv/files/patch-aa	Wed Nov  1 07:56:14 2000
@@ -1,9 +1,13 @@
-*** Imakefile~	Sat Jul 15 04:07:13 1995
---- Imakefile	Sat Jan 18 07:02:38 1997
-***************
-*** 22,23 ****
-!     CDEBUGFLAGS = -g
-!         DEFINES = -DPRINTER_NAME=\"hpps\" -DPRINTER_CMD=\"lpr\ -h\"
---- 22,23 ----
-!     CDEBUGFLAGS = -O3
-!         DEFINES = -DPRINTER_NAME=\"S\" -DPRINTER_CMD=\"lpr\ -h\"
+--- Imakefile.orig	Sat Jul 15 04:07:13 1995
++++ Imakefile	Wed Nov  1 07:54:28 2000
+@@ -19,9 +19,8 @@
+ #define IHaveSubdirs
+ #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS) $(DEFINES)'
+ 
+-    CDEBUGFLAGS = -g
+         DEFINES = -DPRINTER_NAME=\"hpps\" -DPRINTER_CMD=\"lpr\ -h\"
+-    PROGRAMDIRS = Lib Plot
++    PROGRAMDIRS = Lib Plot Docs
+    UTILITIESDIR = Utils
+     LOCALBINDIR = ./Bin
+         SUBDIRS = $(PROGRAMDIRS) $(UTILITIESDIR)
diff -urN -xCVS /usr/ports/graphics/plotmtv/files/patch-ac graphics/plotmtv/files/patch-ac
--- /usr/ports/graphics/plotmtv/files/patch-ac	Thu Jan  1 09:00:00 1970
+++ graphics/plotmtv/files/patch-ac	Wed Nov  1 07:37:32 2000
@@ -0,0 +1,8 @@
+--- Plot/Imakefile.orig	Sat Jul 15 04:23:15 1995
++++ Plot/Imakefile	Wed Nov  1 07:37:12 2000
+@@ -31,4 +31,4 @@
+ install.local:: all $(PROGRAM)
+ 	$(INSTALL) -c $(INSTPGMFLAGS)  $(PROGNAME) $(LOCALBINDIR)
+ 
+-ComplexProgramTarget($(PROGNAME))
++ComplexProgramTargetNoMan($(PROGNAME))
diff -urN -xCVS /usr/ports/graphics/plotmtv/files/patch-ad graphics/plotmtv/files/patch-ad
--- /usr/ports/graphics/plotmtv/files/patch-ad	Thu Jan  1 09:00:00 1970
+++ graphics/plotmtv/files/patch-ad	Wed Nov  1 07:54:20 2000
@@ -0,0 +1,5 @@
+--- /dev/null	Wed Nov  1 07:50:48 2000
++++ Docs/Imakefile	Wed Nov  1 07:54:17 2000
+@@ -0,0 +1,2 @@
++InstallManPage(plotmtv, $(MANDIR))
++install.local:: all

>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?20001210190148.084805EC3>