aboutsummaryrefslogtreecommitdiffstats
path: root/devel/mico
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2004-11-17 17:20:41 +0800
committersem <sem@FreeBSD.org>2004-11-17 17:20:41 +0800
commit7edffea967fabf425052a6a9b9dee940d08fa046 (patch)
tree190b6feb398e7a72c1a19c489d8b71fad4a7f2cc /devel/mico
parentbac95de3936e16a13fc72428c3e78e3cb0766416 (diff)
downloadfreebsd-ports-gnome-7edffea967fabf425052a6a9b9dee940d08fa046.tar.gz
freebsd-ports-gnome-7edffea967fabf425052a6a9b9dee940d08fa046.tar.zst
freebsd-ports-gnome-7edffea967fabf425052a6a9b9dee940d08fa046.zip
- Unbreak on 5.3+
Diffstat (limited to 'devel/mico')
-rw-r--r--devel/mico/Makefile8
-rw-r--r--devel/mico/files/patch-include::mico::os-math.h28
2 files changed, 30 insertions, 6 deletions
diff --git a/devel/mico/Makefile b/devel/mico/Makefile
index 28a8dcc16c85..69308322d7b6 100644
--- a/devel/mico/Makefile
+++ b/devel/mico/Makefile
@@ -22,7 +22,7 @@ INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
USE_GMAKE= yes
-USE_AUTOCONF_VER= 253
+USE_AUTOCONF_VER= 259
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
OPTIONS= SERVICES "Build with all services, not only ORB" on \
@@ -61,7 +61,7 @@ CONFIGURE_ARGS+= --disable-coss
MICO_SERVICE= "@comment "
.endif
-CONFIGURE_ENV+= CXXFLAGS=${CPPFLAGS}
+CONFIGURE_ENV+= CXXFLAGS="${CPPFLAGS} -Wno-unused"
.if defined(WITH_X11)
USE_XLIB= yes
@@ -110,10 +110,6 @@ MAN8= ird.8 micod.8 nsd.8
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502125
-BROKEN= Does not build with gcc 3.4
-.endif
-
post-extract:
@${TAR} xzf ${DISTDIR}/doc-html.tar.gz -C ${WRKDIR}
diff --git a/devel/mico/files/patch-include::mico::os-math.h b/devel/mico/files/patch-include::mico::os-math.h
new file mode 100644
index 000000000000..4d36f7a4e764
--- /dev/null
+++ b/devel/mico/files/patch-include::mico::os-math.h
@@ -0,0 +1,28 @@
+--- include/mico/os-math.h.orig Tue Nov 16 22:31:18 2004
++++ include/mico/os-math.h Tue Nov 16 21:07:40 2004
+@@ -291,6 +291,25 @@
+ #define isnan(x) (fpclassify(x) == FP_NAN)
+ #endif
+ #endif
++
++#ifndef asinl
++#define asinl asin
++#endif
++#ifndef ldexpl
++#define ldexpl ldexp
++#endif
++#ifndef frexpl
++#define frexpl frexp
++#endif
++#ifndef fmodl
++#define fmodl fmod
++#endif
++#ifndef ceill
++#define ceill ceil
++#endif
++#ifndef floorl
++#define floorl floor
++#endif
+ #endif // __FreeBSD__
+
+ #include <unistd.h>