Incorrect CXXFLAGS cause shared library link to fail on amd64. There are three "simple" approaches to fixing this: 1. Do not build or install a shared library. This is a solution of last resort. 2. Enable libtool. This fixes the shared library problem, but the first executable gets compiled suboptimally, and the make fails for the second executable. 3. (Chosen) Patch the Makefile.in files to compile position- independent code for the shared objects. There are a couple of ways to do this; one possibility appears below. I don't have access to an amd64 system running FreeBSD, so I haven't actually tested this.
Responsible Changed From-To: freebsd-ports-bugs->ijliao Over to maintainer
State Changed From-To: open->closed Committed, thanks. Note your patch was not adequate - -fPIC is needed in CC line not in LD line for flatfile/Makefile.in. I have fixed that before committing.
pav 2007-06-06 13:31:05 UTC FreeBSD ports repository Modified files: palm/palm-db-tools Makefile Log: - Unbreak on amd64 PR: ports/110525 Submitted by: Eric P. Scott <eps+pbug0703@ana.com> Approved by: maintainer timeout (ijliao; 2 months) Revision Changes Path 1.6 +5 -6 ports/palm/palm-db-tools/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"