Bug 53070 - Update port: cad/pcb to 1.7.3 and fix unfetchable distfile
Summary: Update port: cad/pcb to 1.7.3 and fix unfetchable distfile
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-09 02:10 UTC by Serge Gagnon
Modified: 2003-07-23 17:58 UTC (History)
0 users

See Also:


Attachments
patch-pcb-upgrade (3.88 KB, text/plain)
2003-06-09 02:10 UTC, Serge Gagnon
no flags Details
patch-src-Imakefile (293 bytes, text/plain)
2003-06-09 02:10 UTC, Serge Gagnon
no flags Details
file.diff (530 bytes, patch)
2003-06-09 02:10 UTC, Serge Gagnon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Serge Gagnon 2003-06-09 02:10:12 UTC
	o Fix unfetchable distfile by upgrading this port to 1.7.3
	o I take maintainership of this port

	- Remove all files in the ${FILESDIR} and replace it with
	the files I provide with this PR

	- New files are
	patch-config.h       patch-src-Imakefile  patch-src-error.h

Fix: --- config.h.orig	Sun Jun  8 05:24:52 2003
+++ config.h	Sun Jun  8 05:26:54 2003
@@ -36,15 +36,15 @@
  * (LIBDIR is defined by imake)
  *
  */
-INFODIR = /usr/info
-PCBLIBDIR = $(LIBDIR)/pcb
+INFODIR = ${PREFIX}/info
+PCBLIBDIR = ${PREFIX}/lib/pcb
 DEFAULTFONT = default_font
 DEFAULTLIBRARY = pcblib
 
 /* ----------------------------------------------------------------------
  * the name of GNU m4 (you MUST use GNU m4)
  */
-GNUM4 = m4
+GNUM4 = gm4
 
 /* ----------------------------------------------------------------------
  * BTNMOD determies the modifier key to be used for the
--- patch-config.h ends here ---
How-To-Repeat: 
http://people.freebsd.org/~fenner/portsurvey/cad.html#pcb
Comment 1 Serge Gagnon 2003-06-09 05:14:08 UTC
Sorry, I don't exactly know what I was doing with this DISTFILES
Run this patch after applied the one above

--- patch-wake-up begins here ---
--- Makefile.orig	Mon Jun  9 00:08:31 2003
+++ Makefile	Mon Jun  9 00:08:59 2003
@@ -10,7 +10,7 @@
 PORTREVISION=	2
 CATEGORIES=	cad
 MASTER_SITES=	http://bach.ece.jhu.edu/~haceaton/pcb/
-DISTFILES=	${PORTNAME}-${PORTVERSION}p${EXTRACT_SUFX}
+DISTNAME=	${PORTNAME}-${PORTVERSION}p
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	gagnon__s@videotron.ca
--- patch-wake-up ends here ---

-- 
Serge Gagnon <gagnon__s@videotron.ca>
Quebec, Qc, Canada
GPG key available from:
ftp://quenix.dyndns.org/keys/sg.asc
Comment 2 Serge Gagnon 2003-06-09 06:14:03 UTC
On Mon, 2003-06-09 at 00:14, Serge Gagnon wrote:

I appologize for the previous follow-up... it seems that my state
aggravate from minute to minute ;)

THIS is the good patch

--- patch-Makefile begins here ---
--- Makefile.orig	Mon Jun  9 01:09:57 2003
+++ Makefile	Mon Jun  9 01:10:14 2003
@@ -9,7 +9,7 @@
 PORTVERSION=	1.7.3
 CATEGORIES=	cad
 MASTER_SITES=	http://bach.ece.jhu.edu/~haceaton/pcb/
-DISTFILES=	${PORTNAME}-wip${EXTRACT_SUFX}
+DISTNAME=	${PORTNAME}-wip
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	gagnon__s@videotron.ca
--- patch-Makefile ends here ---

-- 
Serge Gagnon <gagnon__s@videotron.ca>
Quebec, Qc, Canada
GPG key available from:
ftp://quenix.dyndns.org/keys/sg.asc
Comment 3 Serge Gagnon 2003-06-09 12:49:09 UTC
On Mon, 2003-06-09 at 01:14, Serge Gagnon wrote:

Do you believe me if I tell you that this time... it this the
real-good-perfect patch ?

--- patch-pfffff-Makefile begins here ---
--- Makefile.orig	Mon Jun  9 01:09:57 2003
+++ Makefile	Mon Jun  9 07:40:51 2003
@@ -9,7 +9,7 @@
 PORTVERSION=	1.7.3
 CATEGORIES=	cad
 MASTER_SITES=	http://bach.ece.jhu.edu/~haceaton/pcb/
-DISTFILES=	${PORTNAME}-wip${EXTRACT_SUFX}
+DISTNAME=	${PORTNAME}-wip
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	gagnon__s@videotron.ca
@@ -18,6 +18,7 @@
 BUILD_DEPENDS=	gm4:${PORTSDIR}/devel/m4 \
 		latex:${PORTSDIR}/print/teTeX
 
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 USE_IMAKE=	yes
 MAN1=		pcb.1
 
--- patch-pfffff-Makefile ends here ---

-- 
Serge Gagnon <gagnon__s@videotron.ca>
Quebec, Qc, Canada
GPG key available from:
ftp://quenix.dyndns.org/keys/sg.asc
Comment 4 Oliver Lehmann freebsd_committer 2003-07-23 17:43:51 UTC
State Changed
From-To: open->closed

Committed, Thanks!