misc/77124: update port: security/php4-cryptopp fix breakage due to
dependency to perl
Thomas Melzer
tmelzer at tomesoft.de
Sat Feb 5 01:00:46 PST 2005
>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 at 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:
More information about the freebsd-bugs
mailing list