Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 2003 15:15:28 +0100 (CET)
From:      Alex Dupre <sysadmin@alexdupre.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50021: [Fix Port] print/teTeX (WITHOUT_X11=yes)
Message-ID:  <200303151415.h2FEFSKN057743@vaio.alexdupre.com>

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

>Number:         50021
>Category:       ports
>Synopsis:       [Fix Port] print/teTeX (WITHOUT_X11=yes)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 15 06:20:08 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex Dupre
>Release:        FreeBSD 4.8-ALEXDUPRE i386
>Organization:
>Environment:
System: FreeBSD 4.8-ALEXDUPRE i386
>Description:
Without X11 in the system, the two x11-tools mfw and mf-nowin are not created
and installed.
With X11 in the system, but with WITHOUT_X11=yes they are created and installed.
The patch fix this wrong behaviour.
>How-To-Repeat:
>Fix:

--- teTeX.diff begins here ---
diff -ruN teTeX.orig/Makefile teTeX/Makefile
--- teTeX.orig/Makefile	Sat Mar 15 12:05:44 2003
+++ teTeX/Makefile	Sat Mar 15 12:39:03 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	teTeX
 PORTVERSION=	2.0.2
+PORTREVISION=	1
 CATEGORIES=	print
 MASTER_SITES=	ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/2.0/distrib/ \
 		${MASTER_SITE_TEX_CTAN}
@@ -39,7 +40,8 @@
 		--with-pnglib-include=${LIBPNG_PREFIX}/include
 CONFIGURE_ENV=	INSTALL_PROGRAM="${BSD_INSTALL_SCRIPT}"
 .if defined(WITHOUT_X11)
-CONFIGURE_ARGS+=	--without-x11 --without-oxdvik --without-xdvik
+CONFIGURE_ARGS+=--without-x11 --without-oxdvik --without-xdvik \
+		--with-mfw=no
 .endif
 MAN1=		MakeTeXPK.1 access.1 afm2tfm.1 allcm.1 allneeded.1 \
 		amstex.1 bibtex.1 cont-de.1 cont-en.1 cont-nl.1 dmp.1 \
diff -ruN teTeX.orig/pkg-plist teTeX/pkg-plist
--- teTeX.orig/pkg-plist	Sat Mar 15 12:05:44 2003
+++ teTeX/pkg-plist	Sat Mar 15 12:39:45 2003
@@ -54,9 +54,9 @@
 bin/makempx
 bin/makempy
 bin/mf
-bin/mf-nowin
+%%X11BITS%%bin/mf-nowin
 bin/mft
-bin/mfw
+%%X11BITS%%bin/mfw
 bin/mkfontdesc
 bin/mkindex
 bin/mkocp
--- teTeX.diff ends here ---

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303151415.h2FEFSKN057743>