Bug 37100 - Maintainer update: textproc/dico (portsurvey fix)
Summary: Maintainer update: textproc/dico (portsurvey fix)
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 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-15 17:40 UTC by Cyrille Lefevre
Modified: 2002-10-31 23:51 UTC (History)
0 users

See Also:


Attachments
file.diff (9.29 KB, patch)
2002-04-15 17:40 UTC, Cyrille Lefevre
no flags Details | Diff
dico.gz.uu (6.90 KB, text/plain)
2002-05-20 21:29 UTC, Cyrille Lefevre
no flags Details
make.log (2.53 KB, text/plain)
2002-05-20 21:29 UTC, Cyrille Lefevre
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cyrille Lefevre 2002-04-15 17:40:00 UTC
	regarding fenner's portsurvey, dico files aren't fetchable anymore :
http://people.freebsd.org/~fenner/portsurvey/cyrille.lefevre@laposte.net.html
	this patch solve this problem.

	Makefile
		PORTREVISION added
		MASTER_SITES and DISTNAME updated
		NO_WRKSUBDIR and PATCH_STRIP= deleted
		USE_ZIP and WRKSRC added
	distinfo
		updated
	pkg-plist
		updated
	files/patch-*
		cvs diff paths updated
	files/patch-lexique-version.dic
		deleted

How-To-Repeat: 	make fetch
Comment 1 sada freebsd_committer freebsd_triage 2002-05-17 22:02:36 UTC
State Changed
From-To: open->feedback

Build fails: (I assign WRKDIRPREFIX as '/0/var/ports') 

===>  Building for dico-1.1_1 
Making all in sources 
gmake[1]: Entering directory `/0/var/ports/home/freebsd/ports/textproc/dico/work/dico/sources' 
cc -DPACKAGE="dico" -DVERSION="1.1"  -I. -I.      -O -pipe  -c dico.c 
cc  -O -pipe   -o dico  dico.o   
gmake[1]: Leaving directory `/0/var/ports/home/freebsd/ports/textproc/dico/work/dico/sources' 
Making all in lexique 
gmake[1]: Entering directory `/0/var/ports/home/freebsd/ports/textproc/dico/work/dico/lexique' 
gmake[1]: Nothing to be done for `all'. 
gmake[1]: Leaving directory `/0/var/ports/home/freebsd/ports/textproc/dico/work/dico/lexique' 
Making all in manuel 
gmake[1]: Entering directory `/0/var/ports/home/freebsd/ports/textproc/dico/work/dico/manuel' 
gmake[1]: Nothing to be done for `all'. 
gmake[1]: Leaving directory `/0/var/ports/home/freebsd/ports/textproc/dico/work/dico/manuel' 
gmake[1]: Entering directory `/0/var/ports/home/freebsd/ports/textproc/dico/work/dico' 
gmake[1]: *** No rule to make target `readme.txt', needed by `all-am'.  Stop. 
gmake[1]: Leaving directory `/0/var/ports/home/freebsd/ports/textproc/dico/work/dico' 
gmake: *** [all-recursive] Error 1 
*** Error code 2
Comment 2 Cyrille Lefevre 2002-05-20 21:29:52 UTC
On May 17, 2002 02:05:01 pm -0700, sada@FreeBSD.org wrote:
> Synopsis: Maintainer update: textproc/dico (portsurvey fix)
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: sada
> State-Changed-When: Fri May 17 14:02:36 PDT 2002
> State-Changed-Why: 
> Build fails: (I assign WRKDIRPREFIX as '/0/var/ports')
[snip]
> http://www.freebsd.org/cgi/query-pr.cgi?pr=37100

I didn't understand, since using WRKDIRPREFIX as /tmp/work, I have no problem!

see logs in attachment. maybe the patch is broken? so, in attachment,
I provide an uuencoded compress shar archive of the port to avoid this.

Cyrille.
-- 
Cyrille Lefevre                 mailto:cyrille.lefevre@laposte.net
Comment 3 Cyrille Lefevre 2002-06-24 00:53:45 UTC
${PERL} -> ${REINPLACE_CMD} add-on.

diff -u -x CVS -x work -x core -x *.core -x #* -x *~ -x *.orig -x *.rej -I $Id.*$ -I $.+BSD.*$ Makefile.orig Makefile
--- Makefile.orig	Mon Jun 24 01:49:07 2002
+++ Makefile	Mon Jun 24 01:03:43 2002
@@ -21,6 +21,7 @@
 # Global variables
 #
 
+USE_REINPLACE=	true
 USE_ZIP=	true
 WRKSRC=		${WRKDIR}/${PORTNAME}
 USE_AUTOMAKE=	true
@@ -33,7 +34,7 @@
 #
 
 post-patch:
-	@${PERL} -pi.fbsd -e 's.%%PREFIX%%.${PREFIX}.g' ${WRKSRC}/sources/dico.c
+	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/sources/dico.c
 
 # Pre-configure
 #

Cyrille.
-- 
Cyrille Lefevre                 mailto:cyrille.lefevre@laposte.net
Comment 4 Oliver Braun freebsd_committer freebsd_triage 2002-10-31 23:51:06 UTC
State Changed
From-To: feedback->closed

Committed, thanks!