ports/108771: [MAINTAINER] databases/db42: fix build without objformat

Matthias Andree matthias.andree at gmx.de
Sun Feb 4 18:40:20 UTC 2007


>Number:         108771
>Category:       ports
>Synopsis:       [MAINTAINER] databases/db42: fix build without objformat
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 04 18:40:17 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 6.1-SECURITY i386
>Organization:
>Environment:
System: FreeBSD libertas.emma.line.org 6.1-SECURITY FreeBSD 6.1-SECURITY #0: Mon Dec  4 07:53:55 UTC
>Description:
fix build without objformat

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- db42-4.2.52_5.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/db42/Makefile.db /root/ports/databases/db42/Makefile.db
--- /usr/ports/databases/db42/Makefile.db	Wed Nov  8 06:20:31 2006
+++ /root/ports/databases/db42/Makefile.db	Sun Feb  4 19:22:10 2007
@@ -31,7 +31,7 @@
 .endif
 
 pre-patch:
-	@${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+	${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g; s,/usr/bin/objformat \|\| echo aout,/usr/bin/objformat || echo elf,' ${WRKSRC}/${CONFIGURE_SCRIPT}
 
 pre-configure:
 	${CHMOD} u+w ${WRKSRC}/../dist/configure
--- db42-4.2.52_5.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list