From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 2 16:30:22 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38CB816A471 for ; Fri, 2 Jun 2006 16:30:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0090043D49 for ; Fri, 2 Jun 2006 16:30:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k52GUKYW047103 for ; Fri, 2 Jun 2006 16:30:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k52GUKIB047100; Fri, 2 Jun 2006 16:30:20 GMT (envelope-from gnats) Resent-Date: Fri, 2 Jun 2006 16:30:20 GMT Resent-Message-Id: <200606021630.k52GUKIB047100@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Erik Greenwald Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC2B416A42C for ; Fri, 2 Jun 2006 16:25:56 +0000 (UTC) (envelope-from erik@smluc.org) Received: from phoenix.smluc.org (phoenix.smluc.org [12.28.48.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 497A343D48 for ; Fri, 2 Jun 2006 16:25:56 +0000 (GMT) (envelope-from erik@smluc.org) Received: by phoenix.smluc.org (Postfix, from userid 1000) id E01081CEBA; Fri, 2 Jun 2006 11:28:14 -0500 (CDT) Message-Id: <20060602162814.E01081CEBA@phoenix.smluc.org> Date: Fri, 2 Jun 2006 11:28:14 -0500 (CDT) From: Erik Greenwald To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: erik@math.missouristate.edu Subject: ports/98386: [Maintainer Update] databases/gauche-gdbm fix for non-i386 arch's X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Erik Greenwald List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jun 2006 16:30:22 -0000 >Number: 98386 >Category: ports >Synopsis: [Maintainer Update] databases/gauche-gdbm fix for non-i386 arch's >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: Fri Jun 02 16:30:20 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Erik Greenwald >Release: FreeBSD 6.1-RELEASE i386 >Organization: >Environment: System: FreeBSD fenris 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 14:38:02 EDT 2006 root@fenris:/usr/obj/usr/src/sys/FENRIS i386 >Description: Doesn't compile on non-ia32 due to missing -fPIC in building a library. This patch adds the -fPIC. (Tested on amd64) >How-To-Repeat: >Fix: --- databases_gauche-gdbm.patch begins here --- Index: databases/gauche-gdbm/Makefile =================================================================== RCS file: /home/ncvs/ports/databases/gauche-gdbm/Makefile,v retrieving revision 1.34 diff -u -r1.34 Makefile --- databases/gauche-gdbm/Makefile 4 May 2006 21:39:57 -0000 1.34 +++ databases/gauche-gdbm/Makefile 2 Jun 2006 16:23:00 -0000 @@ -36,11 +36,11 @@ do-build: cd ${WRKSRC} && ${LOCALBASE}/bin/gauche-config --fixup-extension gdbm cd ${WRKSRC} && ${LOCALBASE}/bin/gosh genstub gdbm.stub - cd ${WRKSRC} && ${CC} ${CFLAGS} -c gdbm_head.c - cd ${WRKSRC} && ${CC} ${CFLAGS} -c gdbm_tail.c - cd ${WRKSRC} && ${CC} ${CFLAGS} -c -I${LOCALBASE}/include \ + cd ${WRKSRC} && ${CC} ${CFLAGS} -fPIC -c gdbm_head.c + cd ${WRKSRC} && ${CC} ${CFLAGS} -fPIC -c gdbm_tail.c + cd ${WRKSRC} && ${CC} ${CFLAGS} -fPIC -c -I${LOCALBASE}/include \ -I'${LOCALBASE}/lib/gauche/${PORTVERSION}/include' gdbm.c - cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -shared -Wl,-x -o gdbm.so \ + cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -fPIC -shared -Wl,-x -o gdbm.so \ -Wl,-soname,gdbm.so gdbm.o gdbm_head.o gdbm_tail.o \ -L${LOCALBASE}/lib -lgdbm --- databases_gauche-gdbm.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: