From 1db43fae92fd46f3b2894aa9760700d9848fd2e4 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 25 Sep 2015 11:50:12 +0000 Subject: [PATCH] - Switch to options helpers Approved by: portmgr blanket --- audio/qmpdclient/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/audio/qmpdclient/Makefile b/audio/qmpdclient/Makefile index c43a6b381462..0c9b014595db 100644 --- a/audio/qmpdclient/Makefile +++ b/audio/qmpdclient/Makefile @@ -32,13 +32,7 @@ DBUS_USE= QT4=dbus DEBUG_QMAKE_ON= CONFIG+=debug -.include - post-patch: -.if ! ${PORT_OPTIONS:MNLS} - @${REINPLACE_CMD} -e '/INSTALLS += translations/d' \ - ${WRKSRC}/${PORTNAME}.pro -.endif @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \ -e 's|lupdate|lupdate-qt4|' \ -e 's|lrelease|lrelease-qt4|' \ @@ -46,4 +40,8 @@ post-patch: @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \ ${WRKSRC}/src/notifications_dbus.cpp +post-patch-NLS-off: + @${REINPLACE_CMD} -e '/INSTALLS += translations/d' \ + ${WRKSRC}/${PORTNAME}.pro + .include