[97530] trunk/dports/devel/cryptlib/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Sep 7 22:23:42 PDT 2012
Revision: 97530
https://trac.macports.org/changeset/97530
Author: ryandesign at macports.org
Date: 2012-09-07 22:23:38 -0700 (Fri, 07 Sep 2012)
Log Message:
-----------
cryptlib: use conflicts_build
Modified Paths:
--------------
trunk/dports/devel/cryptlib/Portfile
Modified: trunk/dports/devel/cryptlib/Portfile
===================================================================
--- trunk/dports/devel/cryptlib/Portfile 2012-09-08 03:12:59 UTC (rev 97529)
+++ trunk/dports/devel/cryptlib/Portfile 2012-09-08 05:23:38 UTC (rev 97530)
@@ -2,6 +2,8 @@
PortSystem 1.0
+PortGroup conflicts_build 1.0
+
name cryptlib
version 3.4.1
set branch [join [lrange [split ${version} .] 0 1] .]
@@ -39,19 +41,11 @@
patchfiles patch-makefile.diff \
patch-tools-ccopts.sh.diff
+# Build fails when compiler is gcc or llvm-gcc; warnings are printed when compiler is clang.
+conflicts_build unixODBC
+
use_configure no
-pre-configure {
- foreach {badport badfile} "unixODBC ${prefix}/include/sql.h" {
- if {[file exists ${badfile}]} {
- ui_error "${name} cannot be built while ${badport} is active."
- ui_error "Please deactivate ${badport} and try again."
- ui_error "You can reactivate ${badport} again later."
- return -code error "${badport} is installed"
- }
- }
-}
-
build.target default shared
build.env LIBDIR="${prefix}/lib" \
CFLAGS="${configure.cflags} ${configure.cc_archflags}" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120907/174a2e31/attachment.html>
More information about the macports-changes
mailing list