diff options
Diffstat (limited to 'net-im/sim-im-devel/Makefile')
-rw-r--r-- | net-im/sim-im-devel/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/net-im/sim-im-devel/Makefile b/net-im/sim-im-devel/Makefile index ff59ef9d9331..25a92f32b8c5 100644 --- a/net-im/sim-im-devel/Makefile +++ b/net-im/sim-im-devel/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= sim-im-devel -PORTVERSION= 0.9.5.1538 +PORTVERSION= 0.9.5.1809 CATEGORIES= net-im MASTER_SITES= http://sim-im.lehis.ru/dist/ \ http://www.sim-im.lehis.ru/dist/ @@ -38,8 +38,14 @@ OPTIONS= KDE "Enable KDE support" off \ .include <bsd.port.pre.mk> +post-patch: +.if !defined(WITH_KDE) + @${REINPLACE_CMD} -e 's/-O2//g; s/-lpthread/${PTHREAD_LIBS}/g' \ + ${CONFIGURE_WRKSRC}/configure +.endif + .if ${OSVERSION} < 500000 -IGNORE= it doesn't work on FreeBSD 4.X +IGNORE= build failed on FreeBSD 4.X .endif .if !defined(WITHOUT_DEBUG) |