Bug 75880 - [maintainer-update] www/wml (unbreak)
Summary: [maintainer-update] www/wml (unbreak)
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: Thierry Thomas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-06 13:00 UTC by Christian Lackas
Modified: 2005-01-08 13:30 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Lackas 2005-01-06 13:00:54 UTC
	Port seems to be broken for Perl older than 5.6.

Fix: Apply patch provided by Thierry Thomas:




LIB_DEPENDS=   png.5:${PORTSDIR}/graphics/png

-BROKEN=                Does not compile
-
 USE_PERL5=     yes
 GNU_CONFIGURE= yes
 CONFIGURE_ARGS=        --with-perl=${PERL5}
@@ -64,6 +62,10 @@

 .if ${ARCH} == "amd64"
 BROKEN=                "Build fails on amd64 (needs to build shared libraries with -fPIC)"
+.endif
+
+.if ${PERL_LEVEL} < 500600
+BROKEN=                "Does not compile with perl ${PERL_VERSION}"
 .endif

 #   catpages are usually not installed, so they are not compressed.--nSAMkw29r7ln4QdQx5FlOGTKuJSXgGQ1qjAUW8wyOa5TV1V4
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

diff -urN www/wml.orig/Makefile www/wml/Makefile
--- www/wml.orig/Makefile       Sun Dec 12 13:53:56 2004
+++ www/wml/Makefile    Thu Dec 23 14:18:30 2004
@@ -17,8 +17,6 @@
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2005-01-06 18:01:56 UTC
Responsible Changed
From-To: freebsd-ports-bugs->thierry


Take it.
Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2005-01-08 13:29:59 UTC
State Changed
From-To: open->closed


Committed, thanks!