aboutsummaryrefslogtreecommitdiff
path: root/deskutils/kdepim44
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-11-13 14:19:15 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-11-13 14:19:15 +0000
commitc9fd8c25c8ac5f6b486cd730bece84f8dff61872 (patch)
tree02cf12d75b6f67409bbd6930c377034ffcd6fc76 /deskutils/kdepim44
parent87f852c6a858a5bd9965d0cf2650d3bda9f06709 (diff)
downloadports-c9fd8c25c8ac5f6b486cd730bece84f8dff61872.tar.gz
ports-c9fd8c25c8ac5f6b486cd730bece84f8dff61872.zip
Link in libbluetooth when appropriate.
Reported by: Mark Murray <markm@freebsd.org>
Notes
Notes: svn path=/head/; revision=121518
Diffstat (limited to 'deskutils/kdepim44')
-rw-r--r--deskutils/kdepim44/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/deskutils/kdepim44/Makefile b/deskutils/kdepim44/Makefile
index 6a05acaa13a3..90a18a3ec540 100644
--- a/deskutils/kdepim44/Makefile
+++ b/deskutils/kdepim44/Makefile
@@ -7,7 +7,7 @@
PORTNAME= kdepim
PORTVERSION= ${KDE_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= deskutils mail news palm kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
@@ -65,8 +65,12 @@ pre-everything::
@${ECHO_MSG}
.endif
+.if ${OSVERSION} >= 501111 && !defined(NO_BLUETOOTH)
+_LBLUETOOTH= -lbluetooth
+.endif
+
pre-configure:
${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/configure
- ${REINPLACE_CMD} -e 's|-lgnokii|-lgnokii -liconv -lintl|' ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e 's|-lgnokii|-lgnokii -liconv -lintl ${_LBLUETOOTH}|' ${WRKSRC}/configure
.include <bsd.port.post.mk>