aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2015-02-16 16:12:16 +0800
committerjbeich <jbeich@FreeBSD.org>2015-02-16 16:12:16 +0800
commit86234a0d82f97c9200d15a6e3899dd6e4b838924 (patch)
tree15b7fb4d0adb0bb984e8f54f15f7f12e613d3f39 /audio
parent147e9032bc5749c91a7a46df4139af27780c186f (diff)
downloadfreebsd-ports-gnome-86234a0d82f97c9200d15a6e3899dd6e4b838924.tar.gz
freebsd-ports-gnome-86234a0d82f97c9200d15a6e3899dd6e4b838924.tar.zst
freebsd-ports-gnome-86234a0d82f97c9200d15a6e3899dd6e4b838924.zip
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)
Diffstat (limited to 'audio')
-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>