Bug 243154 - www/trafficserver: fix build on powerpc64
Summary: www/trafficserver: fix build on powerpc64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: Piotr Kubaj
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-07 10:09 UTC by Piotr Kubaj
Modified: 2020-01-20 20:18 UTC (History)
2 users (show)

See Also:
gaod: maintainer-feedback+
pkubaj: merge-quarterly?


Attachments
patch (3.83 KB, patch)
2020-01-07 10:09 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (gaod)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2020-01-07 10:09:35 UTC
Created attachment 210497 [details]
patch

This port builds on amd64, but without luajit support since there's no luajit for powerpc64.

Also add USES=localbase instead of LIBS+= and remove unused CONFIGURE_ARGS.

Since files are installed to powerpc-freebsd-thread-multi directory, set proper PLIST_SUB and do-install target.

Don't add -L/usr/lib to LDFLAGS, it breaks when compiling with ports GCC.
Comment 1 Hung-Yi Chen 2020-01-20 19:15:43 UTC
LFTM.
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-01-20 20:17:56 UTC
A commit references this bug:

Author: pkubaj
Date: Mon Jan 20 20:17:41 UTC 2020
New revision: 523686
URL: https://svnweb.freebsd.org/changeset/ports/523686

Log:
  www/trafficserver: fix build on powerpc64

  This port builds on amd64, but without luajit support since there's no luajit for powerpc64.

  Also add USES=localbase instead of LIBS+= and remove unused CONFIGURE_ARGS.

  Since files are installed to powerpc-freebsd-thread-multi directory, set proper PLIST_SUB and do-install target.

  Don't add -L/usr/lib to LDFLAGS, it breaks when compiling with ports GCC.

  PR:		243154
  Approved by:	gaod@hychen.org (maintainer)
  MFH:		2020Q1 (fix build blanket)

Changes:
  head/www/trafficserver/Makefile
  head/www/trafficserver/files/patch-configure
  head/www/trafficserver/pkg-plist
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-01-20 20:18:59 UTC
A commit references this bug:

Author: pkubaj
Date: Mon Jan 20 20:18:34 UTC 2020
New revision: 523687
URL: https://svnweb.freebsd.org/changeset/ports/523687

Log:
  MFH: r523686

  www/trafficserver: fix build on powerpc64

  This port builds on amd64, but without luajit support since there's no luajit for powerpc64.

  Also add USES=localbase instead of LIBS+= and remove unused CONFIGURE_ARGS.

  Since files are installed to powerpc-freebsd-thread-multi directory, set proper PLIST_SUB and do-install target.

  Don't add -L/usr/lib to LDFLAGS, it breaks when compiling with ports GCC.

  PR:		243154
  Approved by:	gaod@hychen.org (maintainer)
  Approved by:	portmgr (fix build blanket)

Changes:
_U  branches/2020Q1/
  branches/2020Q1/www/trafficserver/Makefile
  branches/2020Q1/www/trafficserver/files/patch-configure
  branches/2020Q1/www/trafficserver/pkg-plist