Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Feb 2005 08:58:08 GMT
From:      Thomas Melzer <tmelzer@tomesoft.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/77124: update port: security/php4-cryptopp fix breakage due to dependency to perl
Message-ID:  <200502050858.j158w85Z099861@www.freebsd.org>
Resent-Message-ID: <200502050900.j1590hgb045708@freefall.freebsd.org>

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

>Number:         77124
>Category:       misc
>Synopsis:       update port: security/php4-cryptopp fix breakage due to dependency to perl
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 05 09:00:43 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Melzer
>Release:        FreeBSD 5.3-RELEASE-p5 i386
>Organization:
Thomas Melzer Softwareentwicklung
>Environment:
FreeBSD terra.ddns.tomesoft.de 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Thu Jan 27 20:31:57 CET 2005     root@terra.ddns.tomesoft.de:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
This patch fixes the breakage if you do a clean build of this port due to a silly dependancy error of mine.

Pointed out by: kris
>How-To-Repeat:
      
>Fix:
diff -u -r php4-cryptopp.old/Makefile php4-cryptopp/Makefile
--- php4-cryptopp.old/Makefile  Sun Jan 30 14:07:02 2005
+++ php4-cryptopp/Makefile      Sat Feb  5 09:44:49 2005
@@ -7,6 +7,7 @@

 PORTNAME=      cryptopp
 PORTVERSION=   0.0.15
+PORTREVISION=  1
 CATEGORIES=    security
 MASTER_SITES=  http://bugs.tutorbuddy.com/download.php/
 PKGNAMEPREFIX= php4-
@@ -32,15 +33,13 @@
 PORTDOCS=      README ${PORTNAME}.doc
 .endif

-post-extract:
-# convert sgml documentation to plain text
-       @${PERL} -e '$$/=">";' -e 'while(<>){s/<.*>//;print;}' < ${WRKSRC}/docs/${PORTNAME}.sgml > ${WRKSRC}/${PORTNAME}.doc
-
 post-patch:
        @${REINPLACE_CMD} -e 's|-march=pentium3 -O3 -g -pipe -fomit-frame-pointer|${CFLAGS}|' ${WRKSRC}/config.m4

 post-install:
 .if !defined(NOPORTDOCS)
+# convert sgml documentation to plain text
+       @${PERL} -e '$$/=">";' -e 'while(<>){s/<.*>//;print;}' < ${WRKSRC}/docs/${PORTNAME}.sgml > ${WRKSRC}/${PORTNAME}.doc
        ${MKDIR} ${DOCSDIR}
        cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
 .endif

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



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