[82926] trunk/dports/security/openpgpsdk
blb at macports.org
blb at macports.org
Sun Aug 21 19:42:47 PDT 2011
Revision: 82926
http://trac.macports.org/changeset/82926
Author: blb at macports.org
Date: 2011-08-21 19:42:46 -0700 (Sun, 21 Aug 2011)
Log Message:
-----------
security/openpgpsdk - disable -Werror
Modified Paths:
--------------
trunk/dports/security/openpgpsdk/Portfile
Added Paths:
-----------
trunk/dports/security/openpgpsdk/files/
trunk/dports/security/openpgpsdk/files/patch-disable_werror.diff
Modified: trunk/dports/security/openpgpsdk/Portfile
===================================================================
--- trunk/dports/security/openpgpsdk/Portfile 2011-08-22 02:17:14 UTC (rev 82925)
+++ trunk/dports/security/openpgpsdk/Portfile 2011-08-22 02:42:46 UTC (rev 82926)
@@ -3,7 +3,7 @@
PortSystem 1.0
name openpgpsdk
version 0.9
-revision 1
+revision 1
categories security devel
license BSD
maintainers blb openmaintainer
@@ -28,6 +28,8 @@
universal_variant no
+patchfiles patch-disable_werror.diff
+
configure.pre_args
configure.args --with-bz2lib=${prefix}/lib --with-cunit=${prefix} \
--with-openssl=${prefix} --with-zlib=${prefix}/lib \
Added: trunk/dports/security/openpgpsdk/files/patch-disable_werror.diff
===================================================================
--- trunk/dports/security/openpgpsdk/files/patch-disable_werror.diff (rev 0)
+++ trunk/dports/security/openpgpsdk/files/patch-disable_werror.diff 2011-08-22 02:42:46 UTC (rev 82926)
@@ -0,0 +1,22 @@
+--- configure.orig 2009-01-08 08:47:06.000000000 -0700
++++ configure 2011-08-21 20:36:54.000000000 -0600
+@@ -398,7 +398,7 @@
+ sub baseCFlags {
+ my $flags='';
+ if(getKnowledge('is_gcc')) {
+- $flags='-Wall -Werror -W -g';
++ $flags='-Wall -W -g';
+ # my $v=getKnowledge('gcc_major');
+ # $flags.=' -Wdeclaration-after-statement' if $v >= 3;
+ }
+--- tests/Makefile.template.orig 2009-01-08 08:47:03.000000000 -0700
++++ tests/Makefile.template 2011-08-21 20:38:44.000000000 -0600
+@@ -2,7 +2,7 @@
+ DM_LIB=%DM_LIB%
+ CC=%CC%
+
+-CFLAGS=-Wall -Werror -g $(DM_FLAGS) -I../include %INCLUDES% %CFLAGS%
++CFLAGS=-Wall -g $(DM_FLAGS) -I../include %INCLUDES% %CFLAGS%
+ LDFLAGS=-g %LDFLAGS%
+ LIBDEPS=../lib/libops.a
+ LIBS=$(LIBDEPS) %CRYPTO_LIBS% %ZLIB% %BZ2LIB% %CUNITLIB% %OTHERLIBS% $(DM_LIB)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110821/13436cb9/attachment.html>
More information about the macports-changes
mailing list