openbsd-ports/audio/sox/patches/patch-ab
espie 8123bec706 - sox needs a -Dunix define
- use MAKE_ENV to get a less disruptive patch
1999-06-03 21:55:22 +00:00

30 lines
1.0 KiB
Plaintext

--- Makefile.unx.orig Thu Oct 1 05:06:13 1998
+++ Makefile.unx Thu Jun 3 23:48:07 1999
@@ -95,7 +95,7 @@
# Chose the best compiler you got from the following:
#
# GCC with all warnings and debug info
-CC = gcc -g -Wall
+# CC = gcc -g -Wall
#
# GCC with no special options
# CC = gcc
@@ -124,7 +124,7 @@
# If your system has the more advanced version of getopt() that
# also has its own getopt.h file (Such as the case with GNU libc 2.0)
# then uncomment the following line:
-GETOPT_DEFINES = -DHAS_GETOPT_H
+#GETOPT_DEFINES = -DHAS_GETOPT_H
# Uncomment the following if your system does not have a built in
# strerror(). This includes SunOS.
@@ -217,7 +217,7 @@
##############################################################################
SOX_PRE_LIBS = $(GSM_PRE_LIBS)
-SOX_POST_LIBS = $(GSM_POST_LIBS) -lm
+SOX_POST_LIBS = $(GSM_POST_LIBS) -lm -lossaudio
SOX_INCLUDES = $(GSM_INCLUDES)
SOX_DEFINES = $(GSM_DEFINES) $(OSS_DEFINES) $(SUNAUDIO_DEFINES) \
$(BLASTER) $(GETOPT_DEFINES) $(STRERR_DEFINES) $(MEMMOVE_DEFINES) \