Bug 229382

Summary: devel/jakarta-commons-daemon: Unbreak on aarch64, armv6, armv7
Product: Ports & Packages Reporter: Tobias Kortkamp <tobik>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me CC: ale
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (ale)
Hardware: Any   
OS: Any   
URL: https://forums.freebsd.org/threads/why-no-new-version-tomcat9-in-the-pkg-repositories.66417/
Attachments:
Description Flags
jakarta-commons-daemon.diff
none
A better patch none

Description Tobias Kortkamp freebsd_committer freebsd_triage 2018-06-28 04:47:19 UTC
Created attachment 194699 [details]
jakarta-commons-daemon.diff

For unknown reasons the configure check for jni_md.h fails completely on arm but
we can easily skip it.

Tested in Poudriere on 12.0/aarch64/QEMU, 11.1/amd64, 10.4/i386, and on real
hardware (Raspberry Pi 2) by a user on the forums.
Comment 1 Alex Dupre freebsd_committer freebsd_triage 2018-06-29 12:45:30 UTC
Created attachment 194725 [details]
A better patch

Can you please check if you can build the port with just this patch?
Comment 2 Tobias Kortkamp freebsd_committer freebsd_triage 2018-06-29 13:04:54 UTC
Comment on attachment 194699 [details]
jakarta-commons-daemon.diff

(In reply to Alex Dupre from comment #1)
Yes, it builds fine on aarch64.
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-06-29 13:38:42 UTC
A commit references this bug:

Author: ale
Date: Fri Jun 29 13:37:55 UTC 2018
New revision: 473549
URL: https://svnweb.freebsd.org/changeset/ports/473549

Log:
  Fix build on aarch64, armv6, armv7.

  PR:		229382
  Submitted by:	tobik

Changes:
  head/devel/jakarta-commons-daemon/Makefile
  head/devel/jakarta-commons-daemon/files/patch-configure