Bug 211794

Summary: converters/php56-recode & mail/php56-imap ordering issue.
Product: Ports & Packages Reporter: jaretbartsch
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Many People CC: jimp, vidar
Priority: --- Flags: bugzilla: maintainer-feedback? (ale)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to set PHP_MOD_PRIO in the port's Makefile none

Description jaretbartsch 2016-08-12 21:07:38 UTC
The converters/php56-recode and mail/php56-imap modules are not in the correct ordering. Recode needs to load before imap when the recode and imap modules are both installed.
Comment 1 jimp 2016-08-25 18:40:43 UTC
Confirming this as well. I renamed ext-20-imap.ini to ext-30-imap.ini to get it running again. After making sure that worked, I renamed it back and then added this to my /etc/make.conf and forced an update so it would come back with the right number:

.if ${.CURDIR:M*/mail/php56-imap*}
  PHP_MOD_PRIO=   30
.endif

So far so good with that in place until the port is fixed.
Comment 2 Vidar Karlsen 2017-03-11 18:47:20 UTC
Created attachment 180728 [details]
Patch to set PHP_MOD_PRIO in the port's Makefile
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-12-10 14:20:31 UTC
A commit references this bug:

Author: ale
Date: Mon Dec 10 14:19:24 UTC 2018
New revision: 487169
URL: https://svnweb.freebsd.org/changeset/ports/487169

Log:
  Update to 5.6.39 release [1].

  - clean up CONFLICTS [2]
  - don't link with libpkg [3]
  - fix recode ordering issue [4]

  PR:		233847 [1], 226534 [2], 230980 [3], 211794 [4]
  Submitted by:	Pascal Christen <pascal.christen@hostpoint.ch> [1],
  		brnrd [2], amdmi3 [3], jaretbartsch@yahoo.ca [4]

Changes:
  head/lang/php56/Makefile
  head/lang/php56/Makefile.ext
  head/lang/php56/distinfo
  head/mail/php56-imap/Makefile
  head/mail/php56-imap/files/patch-php__imap.c
  head/mail/php56-imap/files/patch-php__imap.h
  head/net-mgmt/php56-snmp/files/
  head/net-mgmt/php56-snmp/files/patch-config.m4
  head/security/php56-openssl/Makefile