diff options
Diffstat (limited to 'net/kphone/Makefile')
-rw-r--r-- | net/kphone/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/kphone/Makefile b/net/kphone/Makefile index fdcfa43d1534..4a7a27992dc8 100644 --- a/net/kphone/Makefile +++ b/net/kphone/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= kphone -PORTVERSION= 4.0.5 +PORTVERSION= 4.1.0 CATEGORIES= net MASTER_SITES= http://www.wirlab.net/kphone/ @@ -19,11 +19,12 @@ USE_OPENSSL= yes USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= QTDIR="${QT_PREFIX}" +CONFIGURE_ENV= QTDIR="${QT_PREFIX}" CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" post-patch: - @${REINPLACE_CMD} -e 's,-O3,,g ; \ - s,-Wall,$$CFLAGS,g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e "s|-O3||g ; \ + s|-Wall|${CFLAGS}|g;s|-L/usr/X11R6/lib64|${PTHREAD_LIBS}|g; \ + s|-lssl|-lssl -lcrypto|g" ${WRKSRC}/configure @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's,make -C,$$(MAKE) -C,g ; \ s,/apps/,/,g ; \ |