Date: Wed, 9 Mar 2005 18:38:52 +0100 (CET) From: Martin Matuska <martin@matuska.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/78636: [MAINTAINER UPDATE] databases/adodb 4.61 fix Message-ID: <20050309173852.AD95233CEE@mail.ba.zoznam.sk> Resent-Message-ID: <200503091740.j29He2Sw060043@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 78636 >Category: ports >Synopsis: [MAINTAINER UPDATE] databases/adodb 4.61 fix >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Mar 09 17:40:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Martin Matuska >Release: FreeBSD 5.3-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD 5.3-RELEASE-p5 i386 FreeBSD 4.11-RELEASE i386 >Description: find uses option that is not supported before FreeBSD 5.3 replaced "-depth 1" with "! -path './*/*'" (same result in this case) >How-To-Repeat: >Fix: diff -bur databases/adodb.orig/Makefile databases/adodb/Makefile --- databases/adodb.orig/Makefile Wed Mar 9 18:26:30 2005 +++ databases/adodb/Makefile Wed Mar 9 18:34:17 2005 @@ -7,6 +7,7 @@ PORTNAME= adodb PORTVERSION= 4.61 +PORTREVISION= 1 CATEGORIES= databases www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= adodb @@ -42,7 +43,7 @@ @${MKDIR} ${PREFIX}/${ADODB_DIR} @cd ${WRKSRC}; ${FIND} ${ADODB_SUBDIRS} -type d \ -exec ${MKDIR} ${PREFIX}/${ADODB_DIR}/{} \; - @cd ${WRKSRC}; ${FIND} . -depth 1 -type f \( -name '*.php' -or -name '*.dtd' -or -name '*.zip' \) \ + @cd ${WRKSRC}; ${FIND} . ! -path './*/*' -type f \( -name '*.php' -or -name '*.dtd' -or -name '*.zip' \) \ -exec ${INSTALL_DATA} ${WRKSRC}/{} ${PREFIX}/${ADODB_DIR}/{} \; @cd ${WRKSRC}; ${FIND} ${ADODB_SUBDIRS} -type f \ -exec ${INSTALL_DATA} ${WRKSRC}/{} ${PREFIX}/${ADODB_DIR}/{} \; @@ -56,7 +57,7 @@ post-install: .if !defined (NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${DOCSDIR}/cute_icons_for_site - @cd ${WRKSRC}; ${FIND} . -depth 1 -type f -name '*.txt' \ + @cd ${WRKSRC}; ${FIND} . ! -path './*/*' -type f -name '*.txt' \ -exec ${INSTALL_MAN} ${WRKSRC}/{} ${DOCSDIR}/{} \; @cd ${WRKSRC}/docs; ${FIND} . -type f \ -exec ${INSTALL_MAN} ${WRKSRC}/docs/{} ${DOCSDIR}/{} \; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050309173852.AD95233CEE>