Opened 14 years ago

Closed 14 years ago

#320 closed Bug (invalid)

Merge build system changes required for Solaris

Reported by: trisk Owned by: somebody
Priority: Low Milestone: None Set
Component: Transmission Version: 0.80
Severity: Normal Keywords: build Solaris
Cc:

Description

http://pkgbuild.svn.sourceforge.net/viewvc/pkgbuild/spec-files-extra/trunk/patches/transmission-01-solaris.diff

has changes that were needed to make the SFEtransmission package for Solaris 10/Solaris Express. I would like to have some of them merged upstream. Here is a list of current changes:

  • configure:
    • configure should use #!/bin/bash since it uses bash-specific features
    • configure should recognise SunOS
  • mk/common.mk:
    • TMPCFLAGS should not include gcc-specific flags, nor -g. Debugging and optimisations should be left to the user anyway
    • CFLAGS/CXXFLAGS/LDFLAGS ordering was breaking some includes
    • only gcc can generate depends (instead of removing that block, maybe it should check if CC is gcc)
    • msgfmt syntax didn't work with non-GNU msgfmt

Change History (1)

comment:1 Changed 14 years ago by charles

  • Resolution set to invalid
  • Status changed from new to closed

Hi Trisk,

Since we're now using autoconf/automake, I'm not sure that it makes sense to accept patches on the old build system. One of the Transmission team members (joshe) says that the autoconf/automake scripts in svn trunk work correctly on Solaris...

Note: See TracTickets for help on using tickets.