Date: Sat, 3 Oct 2009 11:54:42 GMT From: Alexander Logvinov <avl@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/139329: [PATCH] palm/py-synce-librapi2: Fix build with custom PREFIX Message-ID: <200910031154.n93Bsg0Z063096@www.freebsd.org> Resent-Message-ID: <200910031200.n93C0G5V035800@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910031154.n93Bsg0Z063096>