From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 3 12:00:16 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5F091065723 for ; Sat, 3 Oct 2009 12:00:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C2E178FC2F for ; Sat, 3 Oct 2009 12:00:16 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n93C0GYX035806 for ; Sat, 3 Oct 2009 12:00:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n93C0G5V035800; Sat, 3 Oct 2009 12:00:16 GMT (envelope-from gnats) Resent-Date: Sat, 3 Oct 2009 12:00:16 GMT Resent-Message-Id: <200910031200.n93C0G5V035800@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, Alexander Logvinov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC6C01065693 for ; Sat, 3 Oct 2009 11:54:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id CBA058FC13 for ; Sat, 3 Oct 2009 11:54:42 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n93BsgDA063112 for ; Sat, 3 Oct 2009 11:54:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n93Bsg0Z063096; Sat, 3 Oct 2009 11:54:42 GMT (envelope-from nobody) Message-Id: <200910031154.n93Bsg0Z063096@www.freebsd.org> Date: Sat, 3 Oct 2009 11:54:42 GMT From: Alexander Logvinov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/139329: [PATCH] palm/py-synce-librapi2: Fix build with custom PREFIX X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2009 12:00:17 -0000 >Number: 139329 >Category: ports >Synopsis: [PATCH] palm/py-synce-librapi2: Fix build with custom PREFIX >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Oct 03 12:00:16 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alexander Logvinov >Release: 7.2-STABLE i386 >Organization: >Environment: >Description: Fix build with custom PREFIX. >How-To-Repeat: % make PREFIX=/var/rr .. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/python2.6 -I/usr/local/include -I../src -D_THREAD_SAFE -pthread -Wsign-compare -Wno-long-long -O2 -pipe -mfpmath=387 -mmmx -msse -msse2 -march=prescott -fno-strict-aliasing -MT pyrapi2_la-pyrapi2.lo -MD -MP -MF .deps/pyrapi2_la-pyrapi2.Tpo -c pyrapi2.c -fPIC -DPIC -o .libs/pyrapi2_la-pyrapi2.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/python2.6 -I/usr/local/include -I../src -D_THREAD_SAFE -pthread -Wsign-compare -Wno-long-long -O2 -pipe -mfpmath=387 -mmmx -msse -msse2 -march=prescott -fno-strict-aliasing -MT pyrapi2_la-pyrapi2.lo -MD -MP -MF .deps/pyrapi2_la-pyrapi2.Tpo -c pyrapi2.c -o pyrapi2_la-pyrapi2.o >/dev/null 2>&1 mv -f .deps/pyrapi2_la-pyrapi2.Tpo .deps/pyrapi2_la-pyrapi2.Plo make: don't know how to make /var/rr//lib/librapi.la. Stop >Fix: Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/pcvs/ports/palm/py-synce-librapi2/Makefile,v retrieving revision 1.3 diff -u -r1.3 Makefile --- Makefile 15 Oct 2008 14:54:03 -0000 1.3 +++ Makefile 3 Oct 2009 11:36:15 -0000 @@ -22,7 +22,7 @@ RAPI_SLAVE= pythonb pre-patch: - @${REINPLACE_CMD} -e 's|$$(top_builddir)/src/librapi.la|${PREFIX}/lib/librapi.la|g' \ + @${REINPLACE_CMD} -e 's|$$(top_builddir)/src/librapi.la|${LOCALBASE}/lib/librapi.la|g' \ ${WRKSRC}/python/Makefile.in do-build: >Release-Note: >Audit-Trail: >Unformatted: