Bug 140992 - [maintainer update] patch converters/libutf-8 for CFLAGS
Summary: [maintainer update] patch converters/libutf-8 for CFLAGS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-29 07:00 UTC by David G. Johns
Modified: 2009-12-18 19:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.19 KB, patch)
2009-11-29 07:00 UTC, David G. Johns
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David G. Johns 2009-11-29 07:00:05 UTC
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
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2009-12-18 19:33:53 UTC
State Changed
From-To: open->closed

Committed except the PORTREVISION change. Thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-12-18 19:37:58 UTC
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"