From owner-freebsd-ports@FreeBSD.ORG Fri Nov 21 11:18:05 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E31FC16A4CE for ; Fri, 21 Nov 2003 11:18:05 -0800 (PST) Received: from dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NOSPAM.dyndns.dk (does-d9b91939.pool.mediaWays.net [217.185.25.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC3F243FDF for ; Fri, 21 Nov 2003 11:17:31 -0800 (PST) (envelope-from bounce@NOSPAM.dyndns.dk) Received: from NOSPAM.spam.NOSPAM.spam.NOSPAM.dyndns.dk (NOSPAM.spam.NOSPAM.spam.NOSPAM.dyndns.dk [2002:3e50:3ceb:0:200:c0ff:fefc:19aa]) (8.11.6/8.11.6-SPAMMERS-DeLiGHt) with ESMTP id hAL1DN713690 verified NO) for ; Fri, 21 Nov 2003 02:13:25 +0100 (CET) (envelope-from bounce@NOSPAM.dyndns.dk) Received: (from beer@localhost)hAL1DMW01430; Fri, 21 Nov 2003 02:13:22 +0100 (CET) (envelope-from bounce@NOSPAM.dyndns.dk) Date: Fri, 21 Nov 2003 02:13:22 +0100 (CET) Message-Id: <200311210113.hAL1DMW01430@NOSPAM.spam.NOSPAM.spam.NOSPAM.dyndns.dk> X-Authentication-Warning: NOSPAM.spam.NOSPAM.spam.NOSPAM.dyndns.dk: beer set sender to bounce@NOSPAM.dyndns.dk using -f From: Barry Bouwsma To: FreeBSD Ports Patrol Subject: Fix for broken jpeg2ps-a4 port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 19:18:06 -0000 [Drop hostname part of IPv6-only address above to obtain IPv4-capable e-mail, or don't reply to me since I'm hardly online anymore] (I'm not sure if I should or can send this to freebsd-ports-bugs@ insetad...) This may well be fixed already, but a recent change to the ports/graphics/ jpeg2ps-letter port Makefile has resulted in breakage of the related jpeg2ps-a4 port, producing letter-sized output instead of the desired A4. The following change to the jpeg2ps-*letter* Makefile seems that it restores the -a4 port to produce A4 output: (diff cut-n-pasted, tabs lost; please review and apply by hand as needed) --- ../../graphics/jpeg2ps-letter/Makefile-DIST Tue Sep 2 19:22:04 2003 +++ ../../graphics/jpeg2ps-letter/Makefile Mon Nov 17 22:36:07 2003 @@ -21,7 +21,8 @@ .if ${PAPERSIZE} == a4 post-patch: ${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.input - ${SED} "s%CCFLAGS=-O -c%CCFLAGS=-O -c -DA4%" ${WRKSRC}/Makefile.input > ${WRKSRC}/Makefile +## B0RKED ${SED} "s%CCFLAGS=-O -c%CCFLAGS=-O -c -DA4%" ${WRKSRC}/Makefile.input > ${WRKSRC}/Makefile + ${SED} "s%CFLAGS+=-c%CFLAGS+=-DA4 -c%" ${WRKSRC}/Makefile.input > ${WRKSRC}/Makefile ${RM} -f ${WRKSRC}/Makefile.input .endif The result of the above patch is a Makefile that resembles... CFLAGS?=-O -pipe CFLAGS+=-DA4 -c LD=cc which probably preserves the intent of revision 1.3 of patch-aa while restoring the flags changed by release 1.9 of jpeg2ps. I think. Thanks, Barry Bouwsma