On Tue, Nov 24, 2009 at 07:21:13AM -0500, Michele Zaffalon wrote:
> in Xfig for OpenBSD 4.6, the fig libraries in
> /usr/local/lib/X11/xfig/Libraries/ have the wrong permission, whereas
> 644 should be the correct one in my opinion.

Indeed, and looking at the distfile, the permissions are screwed
there, too, wich also causes `make clean' to fail.

What about the quick hack below? (i'm not going to fix the broken target
in the Imakefile, since xfig looks pretty dead, and I've some
traumatic memories wrt xfig from about 15 years ago)

Ciao,
        Kili

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/xfig/Makefile,v
retrieving revision 1.40
diff -u -p -r1.40 Makefile
--- Makefile    10 Aug 2009 06:31:45 -0000      1.40
+++ Makefile    24 Nov 2009 21:22:42 -0000
@@ -4,7 +4,7 @@ COMMENT=        CAD drawing program for X11
 
 VERSION=       3.2.5b
 DISTNAME=      xfig.${VERSION}.full
-PKGNAME=       xfig-${VERSION}p0
+PKGNAME=       xfig-${VERSION}p1
 CATEGORIES=    graphics x11
 
 HOMEPAGE=      http://www.xfig.org/
@@ -40,5 +40,9 @@ WRKDIST=      ${WRKDIR}/xfig.${VERSION}
 NO_REGRESS=    Yes
 
 USE_X11=       Yes
+
+post-extract:
+       chmod -R a+rX ${WRKSRC}/Libraries
+       find ${WRKSRC}/Libraries -type f -exec chmod -x \{\} \;
 
 .include <bsd.port.mk>


-- 
Infinite compression is easy, if you use a sufficiently lossy
compression algorithm.  Ask anybody who's talked to a journalist
for an hour, and ends up as a one-sentence misquote...
                -- valdis.kletni...@vt.edu

Reply via email to