ports/187634: [PATCH] audio/alsa-utils: Fix package build with XMLTO turned off
Johannes Jost Meixner
xmj at chaot.net
Sun Mar 16 15:10:01 UTC 2014
>Number: 187634
>Category: ports
>Synopsis: [PATCH] audio/alsa-utils: Fix package build with XMLTO turned off
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 16 15:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Johannes Jost Meixner
>Release: FreeBSD 11.0-CURRENT amd64
>Organization:
Goldener Grund OUe
>Environment:
System: FreeBSD mx12.chaot.net 11.0-CURRENT FreeBSD 11.0-CURRENT #4: Sun Mar 9 15:34:03 EET
>Description:
- Fix package build
- Deprecate USE_BZIP
Unsetting the XMLTO option leads to a situation in which alsactl_init.7.gz won't
be present, leading to a failure of pkg create during port compilation.
Adding the OPTIONS_SUB knob and an %%XMLTO%% to the pkg-plist fixes this.
Port maintainer (aragon at phat.za.net) is cc'd.
port test: ok
testport: ok
redports: https://redports.org/buildarchive/20140316150300-18521/
Generated with FreeBSD Port Tools 1.00.2014.03.16 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:
--- alsa-utils-1.0.27.2.patch begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 348413)
+++ Makefile (working copy)
@@ -3,6 +3,7 @@
PORTNAME= alsa-utils
PORTVERSION= 1.0.27.2
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ALSA/utils \
GENTOO/distfiles
@@ -13,12 +14,12 @@
LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib
RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins
-USE_BZIP2= yes
-USES= gmake
+USES= gmake tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-udev-rules-dir="\$${prefix}/lib/udev"
CFLAGS+= -I${LOCALBASE}/include
+OPTIONS_SUB= yes
OPTIONS_DEFINE= XMLTO NLS
OPTIONS_DEFAULT=XMLTO
XMLTO_DESC= Generate alsactl_init(7) man page using xmlto(1)
Index: pkg-plist
===================================================================
--- pkg-plist (revision 348413)
+++ pkg-plist (working copy)
@@ -29,7 +29,7 @@
man/man1/aseqnet.1.gz
man/man1/iecset.1.gz
man/man1/speaker-test.1.gz
-man/man7/alsactl_init.7.gz
+%%XMLTO%%man/man7/alsactl_init.7.gz
man/man8/alsaconf.8.gz
sbin/alsaconf
sbin/alsactl
--- alsa-utils-1.0.27.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list