aboutsummaryrefslogtreecommitdiff
path: root/devel/mico
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2004-11-17 09:20:41 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2004-11-17 09:20:41 +0000
commit06a42a3658344e6e201ddc40295e2f6c2c4be2f1 (patch)
tree8963b8496a792efdf1489586aeff97f3c05007da /devel/mico
parentb19d107ab60873760256f910ff8da1ef2df4ab75 (diff)
downloadports-06a42a3658344e6e201ddc40295e2f6c2c4be2f1.tar.gz
ports-06a42a3658344e6e201ddc40295e2f6c2c4be2f1.zip
- Unbreak on 5.3+
Notes
Notes: svn path=/head/; revision=121799
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>