Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  4 Feb 2007 19:57:47 +0100 (CET)
From:      Matthias Andree <matthias.andree@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kris@FreeBSD.org
Subject:   ports/108773: [MAINTAINER] databases/db43: fix build without objformat
Message-ID:  <20070204185748.0C5D4542@libertas.emma.line.org>
Resent-Message-ID: <200702041900.l14J0Xrj046262@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070204185748.0C5D4542>