[123398] trunk/dports/irc/znc

ryandesign at macports.org ryandesign at macports.org
Fri Aug 8 21:10:13 PDT 2014


Revision: 123398
          https://trac.macports.org/changeset/123398
Author:   ryandesign at macports.org
Date:     2014-08-08 21:10:13 -0700 (Fri, 08 Aug 2014)
Log Message:
-----------
znc: use patchfile instead of reinplace

Modified Paths:
--------------
    trunk/dports/irc/znc/Portfile

Added Paths:
-----------
    trunk/dports/irc/znc/files/patch-modules-modperl-Makefile.inc.diff

Modified: trunk/dports/irc/znc/Portfile
===================================================================
--- trunk/dports/irc/znc/Portfile	2014-08-09 01:32:15 UTC (rev 123397)
+++ trunk/dports/irc/znc/Portfile	2014-08-09 04:10:13 UTC (rev 123398)
@@ -22,15 +22,14 @@
                     rmd160  46bba46d76f75efccde11a9addf4dfe67bc18032
 
 universal_variant   no
-patchfiles          patch-modules-modperl.cpp.diff
+
 depends_lib         port:openssl port:tcl port:perl5
-configure.args      --enable-perl --enable-tcl --with-tcl=${prefix}/lib --disable-python
 
-post-extract {
-    reinplace "s|-Wno-type-limits||g" ${worksrcpath}/modules/modperl/Makefile.inc
-    reinplace "s|-Wno-strict-overflow||g" ${worksrcpath}/modules/modperl/Makefile.inc
-}
+patchfiles          patch-modules-modperl.cpp.diff \
+                    patch-modules-modperl-Makefile.inc.diff
 
+configure.args      --enable-perl --enable-tcl --with-tcl=${prefix}/lib --disable-python
+
 variant python33 description "Enable Python modules, using python33" conflicts python34 {
     compiler.blacklist-append { clang <= 503.0.38  }
     configure.args-replace --disable-python --enable-python

Added: trunk/dports/irc/znc/files/patch-modules-modperl-Makefile.inc.diff
===================================================================
--- trunk/dports/irc/znc/files/patch-modules-modperl-Makefile.inc.diff	                        (rev 0)
+++ trunk/dports/irc/znc/files/patch-modules-modperl-Makefile.inc.diff	2014-08-09 04:10:13 UTC (rev 123398)
@@ -0,0 +1,11 @@
+--- modules/modperl/Makefile.inc	2014-05-08 15:21:25.000000000 -0500
++++ modules/modperl/Makefile.inc	2014-08-08 23:08:00.000000000 -0500
+@@ -6,7 +6,7 @@
+ PERL_LD    := $(shell $(PERL) -MExtUtils::Embed -e ldopts)
+ # Perl API is ugly, casting string literals to char* and redeclaring functions :(
+ PERL_CXX   += -Wno-write-strings -Wno-redundant-decls -Wno-missing-declarations
+-PERL_CXX   += -Wno-type-limits -Wno-sign-compare -Wno-strict-overflow -Wno-unused-value
++PERL_CXX   += -Wno-sign-compare -Wno-unused-value
+ # This is for SWIG
+ PERL_CXX   += -DSWIG_TYPE_TABLE=znc
+ PERLCEXT_EXT    := $(shell $(PERL) -MConfig -e'print $$Config::Config{dlext}')
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140808/b86d6093/attachment.html>


More information about the macports-changes mailing list