ports/157156: Fix port: audio/oss uses CONF_FILES internally
Chris Rees
utisoft at gmail.com
Wed May 18 19:50:10 UTC 2011
>Number: 157156
>Category: ports
>Synopsis: Fix port: audio/oss uses CONF_FILES internally
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed May 18 19:50:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Chris Rees
>Release:
>Organization:
>Environment:
>Description:
As discussed on ports@ and with bapt, new variables CONF_FILES and CONF_DIRS are to be introduced to bsd.port.mk.
This causes problems in some ports, of which this is one.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /exports/cvsroot-freebsd/ports/audio/oss/Makefile,v
retrieving revision 1.40
diff -u -r1.40 Makefile
--- Makefile 6 Jan 2011 19:33:30 -0000 1.40
+++ Makefile 18 May 2011 17:28:04 -0000
@@ -41,7 +41,7 @@
oss_via97.7 oss_ymf7xx.7 osscore.7
MAN8= ossdetect.8 ossdevlinks.8 savemixer.8 vmixctl.8
-CONF_FILES= oss_audigyls oss_audioloop oss_cs461x oss_emu10k1x \
+OSS_CONF_FILES= oss_audigyls oss_audioloop oss_cs461x oss_emu10k1x \
oss_envy24 oss_envy24ht oss_fmedia oss_hdaudio \
oss_ich oss_imux oss_madi oss_midiloop oss_sblive \
oss_sbpci oss_sbxfi oss_trident oss_usb oss_userdev \
@@ -93,7 +93,7 @@
${INSTALL_DATA} ${PROTO_OSSLIBDIR}/sysfiles.list ${PREFIX}/lib/oss/
${INSTALL_DATA} ${PROTO_OSSLIBDIR}/version.dat ${PREFIX}/lib/oss/
-@${MKDIR} ${PREFIX}/lib/oss/conf 2>/dev/null
-.for CONF_FILE in ${CONF_FILES}
+.for CONF_FILE in ${OSS_CONF_FILES}
${INSTALL_DATA} ${PROTO_OSSLIBDIR}/conf/${CONF_FILE}.conf \
${PREFIX}/lib/oss/conf/${CONF_FILE}.conf.sample
.endfor
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list