Bug 146300 - www/horde-base Makefile patch
Summary: www/horde-base Makefile patch
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: Sylvio Cesar Teixeira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-04 14:30 UTC by Daniel Bye
Modified: 2010-05-09 01:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Bye 2010-05-04 14:30:02 UTC
Building www/horde-base fails when using the new lang/php52 port. The Makefile checks PHP_VER to determine whether to use dom (for php5) or domxml (for php4), but as the new port version is 52, the check fails and falls back to domxml, which is not a valid extension for php5.

Fix: Use this patch:



-.if ${PHP_VER} == 5
+.if ${PHP_VER} >= 5
 USE_PHP+=      dom
 .else
 USE_PHP+=      domxml--AvCT4V0AwjbexriDJthT20WPLiKnvjiN1M2xmea1EwAXw2pn
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.orig       2010-05-04 13:46:44.000000000 +0100
+++ Makefile    2010-05-04 13:51:37.000000000 +0100
@@ -202,7 +202,7 @@
 EXTRA_PATCHES+=        ${PATCHDIR}/extra-patch-lib_Horde_NLS.php
 .endif
How-To-Repeat: cd /usr/ports/www/horde-base
make
Comment 1 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2010-05-06 01:42:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sylvio

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-05-09 01:19:27 UTC
sylvio      2010-05-09 00:19:18 UTC

  FreeBSD ports repository

  Modified files:
    www/horde-base       Makefile 
  Log:
  - Fix problem with new lang/php52 port.
  
  PR:             ports/146300
  Submitted by:   Daniel Bye <dan@slightlystrange.org>
  
  Revision  Changes    Path
  1.81      +2 -2      ports/www/horde-base/Makefile
_______________________________________________
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"
Comment 3 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2010-05-09 01:19:34 UTC
State Changed
From-To: open->closed

Committed. Thanks!