ports/78636: [MAINTAINER UPDATE] databases/adodb 4.61 fix
Martin Matuska
martin at matuska.org
Wed Mar 9 17:40:03 UTC 2005
>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:
More information about the freebsd-ports-bugs
mailing list