Index: head/converters/xdeview/Makefile =================================================================== --- head/converters/xdeview/Makefile (revision 457356) +++ head/converters/xdeview/Makefile (revision 457357) @@ -1,47 +1,47 @@ # Created by: Tim Vanderhoek # $FreeBSD$ PORTNAME= xdeview PORTVERSION= 0.5.20 PORTREVISION= 3 CATEGORIES= converters tcl tk MASTER_SITES= http://www.fpx.de/fp/Software/UUDeview/download/ DISTNAME= uudeview-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= X11 program for uu/xx/Base64/BinHex/yEnc de-/encoding LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libuu.so:converters/uulib USES= desthack tk GNU_CONFIGURE= yes # Explicitly disable Tcl otherwise the configure script picks-up # crud from the $PATH like /usr/opt/Simili/tcl/. CONFIGURE_ARGS= --disable-tcl --disable-tk ALL_TARGET= xdeview INSTALL_TARGET= install-tcl CPPFLAGS+= -I${TCL_INCLUDEDIR} -DHAVE_TCL \ -I${TK_INCLUDEDIR} -DHAVE_TK \ -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib \ -lX11 -ltcl${TCL_VER:S/.//} \ -ltk${TCL_VER:S/.//} -lm PORTDOCS= * PLIST_FILES= bin/uuwish bin/xdeview man/man1/xdeview.1.gz OPTIONS_DEFINE= DOCS post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/uuwish ${INSTALL_MAN} ${WRKSRC}/man/xdeview.1 ${STAGEDIR}${MANPREFIX}/man/man1 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - @${INSTALL_DATA} ${FILESDIR}/porting.notes ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${FILESDIR}/porting.notes ${STAGEDIR}${DOCSDIR} .include Index: head/converters/xdeview/files/patch-configure =================================================================== --- head/converters/xdeview/files/patch-configure (revision 457356) +++ head/converters/xdeview/files/patch-configure (revision 457357) @@ -1,11 +1,11 @@ ---- configure.orig Thu Jan 9 08:22:00 1997 -+++ configure Thu Nov 4 11:29:23 1999 -@@ -3148,7 +3148,7 @@ +--- configure.orig 2004-03-01 23:06:18 UTC ++++ configure +@@ -2447,7 +2447,7 @@ EOF fi -for ac_hdr in fcntl.h unistd.h memory.h malloc.h errno.h direct.h +for ac_hdr in fcntl.h unistd.h memory.h errno.h direct.h do - ac_safe=`echo "$ac_hdr" | tr './\055' '___'` + ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 Index: head/converters/xdeview/files/patch-tcl_Makefile.in =================================================================== --- head/converters/xdeview/files/patch-tcl_Makefile.in (revision 457356) +++ head/converters/xdeview/files/patch-tcl_Makefile.in (revision 457357) @@ -1,13 +1,13 @@ ---- tcl/Makefile.in.orig Thu Jun 6 13:09:05 1996 -+++ tcl/Makefile.in Wed Apr 2 00:06:10 1997 -@@ -95,8 +95,8 @@ - rm -f uuwish [Xx]deview gif2gfp +--- tcl/Makefile.in.orig 2001-06-04 16:26:57 UTC ++++ tcl/Makefile.in +@@ -95,8 +95,8 @@ new: clean + rm -f uuwish make all -uuwish: $(OBJ) ../uulib/libuu.a - $(CC) -o $@ $(OBJ) -L../uulib -luu $(LIBS) +uuwish: $(OBJ) + $(CC) -o $@ $(OBJ) -luu $(LIBS) - xdeview: xdeview.head tk_MFSbox.tcl xdeview.tail - rm -f $@ + xdeview: + chmod 755 $@ Index: head/converters/xdeview/files/patch-tcl_uutcl.c =================================================================== --- head/converters/xdeview/files/patch-tcl_uutcl.c (revision 457356) +++ head/converters/xdeview/files/patch-tcl_uutcl.c (revision 457357) @@ -1,17 +1,17 @@ ---- tcl/uutcl.c.orig Sat Feb 19 18:56:55 2005 -+++ tcl/uutcl.c Sat Feb 19 18:57:08 2005 +--- tcl/uutcl.c.orig 2002-03-06 13:52:45 UTC ++++ tcl/uutcl.c @@ -48,14 +48,6 @@ #include #endif -/* - * The following variable is a special hack that is needed in order for - * Sun shared libraries to be used for Tcl. - */ - -extern int matherr(); -int *tclDummyMathPtr = (int *) matherr; - #include #include #include