ports/139000: [PATCH] x11-toolkits/Xaw3d: Fixed problem with fetch, changed form with installs docs in Makefile.

Sylvio Cesar scjamorim at bsd.com.br
Mon Sep 21 01:50:02 UTC 2009


>Number:         139000
>Category:       ports
>Synopsis:       [PATCH] x11-toolkits/Xaw3d: Fixed problem with fetch, changed form with installs docs in Makefile.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 21 01:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sylvio Cesar
>Release:        FreeBSD 9.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD fbsd9.scjamorim.org 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Mon Sep 14 01:24:51 BRT 2009
>Description:
- Fixed problem with the fetch
- Added more MASTER_SITES
- Changed pkg-plist
- Added PORTDOCS to insatall docs

You can see the log in my tinderbox:

AMD64
http://www.scjamorim.org/Home/Xaw3d-1.5E_3-8amd64.log

i386
http://www.scjamorim.org/Home/Xaw3d-1.5E_3-8i386.log

Port maintainer (dinoex at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- Xaw3d-1.5E_3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/Xaw3d/Makefile,v
retrieving revision 1.52
diff -u -u -r1.52 Makefile
--- Makefile	21 Jun 2009 13:58:58 -0000	1.52
+++ Makefile	21 Sep 2009 01:44:49 -0000
@@ -9,7 +9,10 @@
 PORTVERSION=	1.5E
 PORTREVISION=	3
 CATEGORIES=	x11-toolkits
-MASTER_SITES=	ftp://ftp.visi.com/users/hawkeyd/X/
+MASTER_SITES=	http://mira.sunsite.utk.edu/fink/ \
+		http://ftp.oiram.net/pub/UNIX/FreeBSD/ports/distfiles/ \
+		http://dist.mononga-linux.org/pub/mononga/development/SOURCES/ \
+		ftp://ftp.visi.com/users/hawkeyd/X/
 
 MAINTAINER=	dinoex at FreeBSD.org
 COMMENT=	A 3-D Athena Widget set that looks like Motif
@@ -22,6 +25,8 @@
 SUB_FILES=	pkg-message
 SUB_LIST=	XAWVER="${XAWVER}"
 
+PORTDOCS=	README.XAW3D
+
 .include <bsd.port.pre.mk>
 
 post-extract:
@@ -29,15 +34,19 @@
 	cd ${WRKSRC}/X11/Xaw3d; ${LN} -sf ../../*.h .
 
 # Workaround a bug in egcs on FreeBSD/Alpha.
-.if ${MACHINE_ARCH} == "alpha"
+.if ${ARCH} == "alpha"
 post-configure:
 	@(cd ${WRKSRC}; ${MV} Makefile Makefile.orig; ${SED} -e \
 	  's/CDEBUGFLAGS = -O/CDEBUGFLAGS =/g' Makefile.orig > Makefile)
 .endif
 
 post-install:
+.if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.XAW3D ${DOCSDIR}
+.for docs in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+.endfor
+.endif
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/Xaw3d/pkg-plist,v
retrieving revision 1.15
diff -u -u -r1.15 pkg-plist
--- pkg-plist	29 Aug 2005 05:10:53 -0000	1.15
+++ pkg-plist	21 Sep 2009 01:44:49 -0000
@@ -80,6 +80,4 @@
 include/X11/Xaw3d/Xaw3dP.h
 include/X11/Xaw3d/XawImP.h
 include/X11/Xaw3d/XawInit.h
-share/doc/Xaw3d/README.XAW3D
 @dirrm include/X11/Xaw3d
- at dirrm share/doc/Xaw3d
--- Xaw3d-1.5E_3.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list