summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/dbus-qt4/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/dbus-qt4/Makefile b/devel/dbus-qt4/Makefile
index 78a56bc50853..3f0513c1795e 100644
--- a/devel/dbus-qt4/Makefile
+++ b/devel/dbus-qt4/Makefile
@@ -42,7 +42,7 @@ INSTALL_WRKSRC= ${BUILD_WRKSRC}
.include <bsd.port.pre.mk>
# Without this workaround, qdbus crashes.
-.if ${OSVERSION} > 1000000
+.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1000000
CXXFLAGS+= -fno-use-cxa-atexit
.endif