ports/183949: databases/mdbtools 0.7.1 fails to compile on 9.1p3
Rainer Hurling
rhurlin at gwdg.de
Fri Nov 15 18:30:02 UTC 2013
The following reply was made to PR ports/183949; it has been noted by GNATS.
From: Rainer Hurling <rhurlin at gwdg.de>
To: bug-followup at FreeBSD.org, etteldor at gmail.com
Cc:
Subject: Re: ports/183949: databases/mdbtools 0.7.1 fails to compile on 9.1p3
Date: Fri, 15 Nov 2013 19:26:18 +0100
This is a multi-part message in MIME format.
--------------000600020301050807020003
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit
Sorry for the breakage with gcc42 as the systems compiler.
The attached patch should only set gcc46+, if systems compiler is not
clang, but gcc42.
Would someone please be so kind to test this with gcc42, because I only
have clang boxes, thanks.
--------------000600020301050807020003
Content-Type: text/plain; charset=UTF-8;
name="patch-Makefile.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="patch-Makefile.txt"
--- Makefile.orig 2013-11-10 20:44:44.000000000 +0100
+++ Makefile 2013-11-15 19:21:32.000000000 +0100
@@ -27,6 +27,12 @@
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
--with-iodbc=${LOCALBASE}
+# If gcc42 is systems compiler, use gcc4.6+
+CCISCLANG!= ${CC} --version
+.if empty(CCISCLANG:M*clang*)
+USE_GCC= yes
+.endif
+
DOCS= AUTHORS ChangeLog HACKING NEWS README TODO
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
--------------000600020301050807020003--
More information about the freebsd-ports-bugs
mailing list