ports/108773: [MAINTAINER] databases/db43: fix build without objformat

Matthias Andree matthias.andree at gmx.de
Sun Feb 4 19:00:35 UTC 2007


>Number:         108773
>Category:       ports
>Synopsis:       [MAINTAINER] databases/db43: 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 19:00:32 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
- make one other REINPLACE_CMD verbose

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

--- db43-4.3.29_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/db43/Makefile /root/ports/databases/db43/Makefile
--- /usr/ports/databases/db43/Makefile	Wed Nov  8 16:43:19 2006
+++ /root/ports/databases/db43/Makefile	Sun Feb  4 19:26:43 2007
@@ -45,13 +45,13 @@
 .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
 
 post-configure:
-	@${REINPLACE_CMD} -e '/^extern  void db_rpc_serverprog/ d;' ${WRKSRC}/db_server.h
+	${REINPLACE_CMD} -e '/^extern  void db_rpc_serverprog/ d;' ${WRKSRC}/db_server.h
 
 post-install:
 .for i in libdb libdb_cxx
--- db43-4.3.29_1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list