diff options
author | lofi <lofi@FreeBSD.org> | 2004-11-13 22:19:15 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-11-13 22:19:15 +0800 |
commit | 1b9dcad3a0c31876e9e5aafdb50fef714fa1966b (patch) | |
tree | 88b3c287e0677bd8cf965b9df564563e81851e15 /deskutils/kdepim4 | |
parent | 5301484f519d79cd8b981191c7f559a1a843dd33 (diff) | |
download | freebsd-ports-graphics-1b9dcad3a0c31876e9e5aafdb50fef714fa1966b.tar.gz freebsd-ports-graphics-1b9dcad3a0c31876e9e5aafdb50fef714fa1966b.tar.zst freebsd-ports-graphics-1b9dcad3a0c31876e9e5aafdb50fef714fa1966b.zip |
Link in libbluetooth when appropriate.
Reported by: Mark Murray <markm@freebsd.org>
Diffstat (limited to 'deskutils/kdepim4')
-rw-r--r-- | deskutils/kdepim4/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/deskutils/kdepim4/Makefile b/deskutils/kdepim4/Makefile index 6a05acaa13a..90a18a3ec54 100644 --- a/deskutils/kdepim4/Makefile +++ b/deskutils/kdepim4/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> |