1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/audio/maplay/files/patch-ad
Steve Price 20fe79de4b * Fixed patches not to change one file twice
* Rearrenged build target

PR:		15378
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
1999-12-23 18:44:10 +00:00

33 lines
811 B
Plaintext

*** configuration.sh.orig Thu Jun 23 21:14:46 1994
--- configuration.sh Thu Dec 9 05:21:02 1999
***************
*** 72,77 ****
--- 72,87 ----
INCLUDEDIRS=
LIBRARIES=
AUDIO_INCLUDES='#include <sys/audioio.h>' ;;
+ FreeBSD*)
+ COMPILER='${CXX}'
+ if [ ${ARCH} = "i386" ]; then
+ COMPILERFLAGS='-m486 -DLINUX -DDAMN_INTEL_BYTE_ORDER'
+ else
+ COMPILERFLAGS='-DLINUX'
+ fi
+ INCLUDEDIRS=
+ LIBRARIES=
+ AUDIO_INCLUDES='#include <machine/soundcard.h>' ;;
Linux*)
COMPILER=g++
COMPILERFLAGS='-O2 -m486 -funroll-loops -DLINUX -DDAMN_INTEL_BYTE_ORDER'
***************
*** 95,98 ****
echo $AUDIO_INCLUDES >audio_includes.h
fi
! make all
--- 105,108 ----
echo $AUDIO_INCLUDES >audio_includes.h
fi
! make maplay