Fix PLIST_SUB handling.

PR:		ports/134478
Submitted by:	Dima Panov <fluffy at fluffy.khv.ru>
This commit is contained in:
Max Brazhnikov 2009-05-16 08:55:35 +00:00
parent fa55ada041
commit 2563be9e09
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233987

View File

@ -30,6 +30,8 @@ QT_COMPONENTS= corelib opengl dbus qt3support \
USE_OPENLDAP= yes
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libgpgme-pth.so)
PLIST_SUB+= WITH_PTH=''
.else
@ -41,4 +43,4 @@ post-extract:
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/../cmake/modules/*.cmake
.include <bsd.port.mk>
.include <bsd.port.post.mk>