Small patch to fix 'CFLAGS+= -fPIC' not being properly added during compilation. Fix: The included patch, tested on i386 and amd64. Patch attached with submission follows: How-To-Repeat: Have CFLAGS set in /etc/make.conf, compile current converters/libutf-8 on amd64. Fails with the following: ld: fget.utf-8.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC fget.utf-8.o: could not read symbols: Bad value
State Changed From-To: open->closed Committed except the PORTREVISION change. Thanks!
pav 2009-12-18 19:37:44 UTC FreeBSD ports repository Modified files: converters/libutf-8 Makefile converters/libutf-8/files patch-aa Log: - Fix CFLAGS modification to survive CFLAGS set in make.conf - Take maintainership PR: ports/140992 Submitted by: David G. Johns <dgjohns@gmail.com> Revision Changes Path 1.16 +1 -2 ports/converters/libutf-8/Makefile 1.2 +8 -3 ports/converters/libutf-8/files/patch-aa _______________________________________________ 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"