1) Fix build with custom LOCALBASE.
2) Use correct path for strip. 3) Remove trailing spaces from plist. Reported by: QATty [1], Marco Broder (marco.broeder at gmx.eu) [2]
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= qca-cyrus-sasl
|
||||
DISTVERSION= 2.0.0-beta3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://delta.affinix.com/download/qca/2.0/plugins/
|
||||
|
||||
@@ -21,7 +22,9 @@ USE_QT_VER= 4
|
||||
QT_COMPONENTS= corelib qmake_build moc_build
|
||||
HAS_CONFIGURE= yes
|
||||
QT_NONSTANDARD= yes
|
||||
CONFIGURE_ARGS+=--plugins-path=${PREFIX}/${QT_PLUGINDIR_REL}
|
||||
CONFIGURE_ARGS+=--plugins-path=${PREFIX}/${QT_PLUGINDIR_REL} \
|
||||
--with-sasl-inc=${LOCALBASE}/include \
|
||||
--with-sasl-lib=${LOCALBASE}/lib
|
||||
|
||||
.if !defined(WITH_DEBUG)
|
||||
CONFIGURE_ARGS+=--release --no-separate-debug-info
|
||||
@@ -32,6 +35,6 @@ PLIST_SUB+= DEBUG=""
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${PREFIX}/${QT_PLUGINDIR_REL}/libqca-cyrus-sasl.so
|
||||
${STRIP_CMD} ${PREFIX}/${QT_PLUGINDIR_REL}/crypto/libqca-cyrus-sasl.so
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -2,4 +2,3 @@
|
||||
%%DEBUG%%%%QT_PLUGINDIR_REL%%/crypto/libqca-cyrus-sasl.so.debug
|
||||
@dirrmtry %%QT_PLUGINDIR_REL%%/crypto
|
||||
@dirrmtry %%QT_PLUGINDIR_REL%%
|
||||
|
||||
|
||||
Reference in New Issue
Block a user