aboutsummaryrefslogtreecommitdiff
path: root/audio/alsa-utils/Makefile
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-02-16 08:12:16 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-02-16 08:12:16 +0000
commit67088d05cbdbb4829a2d79707d9793554c2fdefa (patch)
tree15b7fb4d0adb0bb984e8f54f15f7f12e613d3f39 /audio/alsa-utils/Makefile
parentb23728f30be7eb77538a2c07aca930a2a76feca3 (diff)
Improve style/consistency among the ports I maintain
- Convert to COPYTREE_SHARE - Drop unnecessary MKDIR before COPYTREE_SHARE - Drop bsd.port.options.mk if only DOCS requires it without dependencies - Use separate backup if several REINPLACE_CMD against the same file - audio/alsa-utils: convert to LIBS Differential Revision: https://reviews.freebsd.org/D1851 Approved by: bapt (mentor)
Notes
Notes: svn path=/head/; revision=379072
Diffstat (limited to 'audio/alsa-utils/Makefile')
-rw-r--r--audio/alsa-utils/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/alsa-utils/Makefile b/audio/alsa-utils/Makefile
index 9cc83dcdd556..99e6bd06cb14 100644
--- a/audio/alsa-utils/Makefile
+++ b/audio/alsa-utils/Makefile
@@ -32,14 +32,15 @@ MANPAGES_CONFIGURE_ENABLE=xmlto
NLS_USES= gettext
NLS_CONFIGURE_ENABLE=nls
-NLS_LDFLAGS= -lintl
+NLS_LIBS= -lintl
post-patch: .SILENT
${REINPLACE_CMD} -e '/LIBS/s/-ldl//g; /LIBRT/s/-lrt//g;' \
${WRKSRC}/configure
${FIND} -E ${WRKSRC} -type f -regex \
'.*\.([[:digit:]]|spec\.in|csv|xml)' -exec \
- ${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
+ ${REINPLACE_CMD} -i .pathfix.bak \
+ -e 's|/usr/share|${PREFIX}/share|g' \
-e 's|/etc/asound\.conf|${LOCALBASE}&|g' {} +
.include <bsd.port.mk>