Bug 106793 - Maintainer update: fix build on amd64 for www/resin2
Summary: Maintainer update: fix build on amd64 for www/resin2
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: Rong-En Fan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-15 22:00 UTC by Jean-Baptiste Quenot
Modified: 2006-12-16 02:20 UTC (History)
0 users

See Also:


Attachments
file.diff (5.88 KB, patch)
2006-12-15 22:00 UTC, Jean-Baptiste Quenot
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Baptiste Quenot 2006-12-15 22:00:27 UTC
This is an attempt to fix a build failure on amd64 reported by Kris:
------------------------------------------------------------------
ports-amd64@FreeBSD.org: resin-2.1.17_1 failed on amd64 6

Build error:
...
cc -shared -o common.o stream.o registry.o config.o memory.o
/usr/bin/ld: stream.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
stream.o: could not read symbols: Bad value
*** Error code 1
------------------------------------------------------------------

The attached patch also keeps the port in sync with Resin 3:
* A new option can be set in rc.conf to specify Java version to be used:
  resin2_java_version
* Set REQUIRE and KEYWORD in rc(8) script
* Fix rc.d script when using "faststart"
* Update maintainer address from jb.quenot@caraldi.com to jbq@caraldi.com
Comment 1 Rong-En Fan freebsd_committer freebsd_triage 2006-12-15 23:59:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rafan

Eat.
Comment 2 Rong-En Fan freebsd_committer freebsd_triage 2006-12-16 02:14:30 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2006-12-16 02:14:32 UTC
rafan       2006-12-16 02:14:26 UTC

  FreeBSD ports repository

  Modified files:
    www/resin2           Makefile 
    www/resin2/files     pkg-message.in resin.sh.in resinctl 
  Log:
  - Fix build on 64-bit arch
  
  Keep sync with www/resin3:
  
  - A new option can be set in rc.conf to specify Java version to be used:
    resin2_java_version
  - Set REQUIRE and KEYWORD in rc.d script
  - Fix faststart in rc.d script
  - Update maintainer's email
  
  PR:             ports/106793
  Submitted by:   Jean-Baptiste Quenot <jb.quenot at caraldi.com> (maintainer)
  
  Revision  Changes    Path
  1.14      +10 -2     ports/www/resin2/Makefile
  1.5       +0 -15     ports/www/resin2/files/pkg-message.in
  1.4       +16 -4     ports/www/resin2/files/resin.sh.in
  1.4       +3 -3      ports/www/resin2/files/resinctl
_______________________________________________
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"