aboutsummaryrefslogtreecommitdiff
path: root/audio/oss
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2011-06-21 23:15:35 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2011-06-21 23:15:35 +0000
commit71c44039f0ad2b5e78e94093d63b39d57bbfa7de (patch)
tree3867d55d916a730dd04426a6e690374f87bb78fc /audio/oss
parentbdd46fe0d99a5dd3023c95b9ca110135929f8723 (diff)
downloadports-71c44039f0ad2b5e78e94093d63b39d57bbfa7de.tar.gz
ports-71c44039f0ad2b5e78e94093d63b39d57bbfa7de.zip
Notes
Diffstat (limited to 'audio/oss')
-rw-r--r--audio/oss/files/patch-setup-setupdir.sh31
1 files changed, 31 insertions, 0 deletions
diff --git a/audio/oss/files/patch-setup-setupdir.sh b/audio/oss/files/patch-setup-setupdir.sh
new file mode 100644
index 000000000000..44a4d9023e95
--- /dev/null
+++ b/audio/oss/files/patch-setup-setupdir.sh
@@ -0,0 +1,31 @@
+--- setup/setupdir.sh.orig 2011-01-04 20:33:08.000000000 -0500
++++ setup/setupdir.sh 2011-06-21 19:09:44.000000000 -0400
+@@ -84,7 +84,9 @@ echo BLDDIR=$BLDDIR > .directories
+ echo SRCDIR=$SRCDIR >> .directories
+ echo OSSLIBDIR=$OSSLIBDIR >> .directories
+
+-cc -o dirsetup $SRCDIR/setup/dirsetup.c
++CC=${CC:-cc}
++
++$CC -o dirsetup $SRCDIR/setup/dirsetup.c
+
+ # Make sure the latest soundcard.h version is installed in the system
+ #rm /usr/include/sys/soundcard.h
+@@ -142,7 +144,7 @@ then
+ DTARGETOS="-D$TARGETOS"
+ fi
+
+-cc -D`uname -s` $DTARGETOS -o srcconf $SRCDIR/setup/srcconf.c
++$CC -D`uname -s` $DTARGETOS -o srcconf $SRCDIR/setup/srcconf.c
+
+ if ./srcconf $*
+ then
+@@ -245,7 +247,7 @@ fi
+ # Setup the link to the right os.h file for this operating system.
+ (cd kernel/framework/include;ln -s ../../../kernel/OS/$OS/os_*.h os.h)
+
+-cc -o ossvers -I./kernel/framework/include setup/ossvers.c
++$CC -o ossvers -I./kernel/framework/include setup/ossvers.c
+ ./ossvers > .version
+ rm ./ossvers
+