ports/audio/py-flac/files/patch-Makefile
Edwin Groothuis 5c6f87dd06 New port: audio/py-flac, Python module that provides the Free
Lossless Audio Codec interface

	Python module that provides the Free Lossless Audio Codec
	interface

PR:		ports/91348
Submitted by:	Byung-Hee HWANG <bh@izb.knu.ac.kr>
2006-01-06 06:00:47 +00:00

14 lines
390 B
Text

--- Makefile.orig 2005-09-03 11:43:30.000000000 -0700
+++ Makefile 2006-01-05 04:04:15.274875303 -0700
@@ -1,7 +1,10 @@
+CFLAGS = -I/usr/local/include
+LDFLAGS = -L/usr/local/lib
+
all: build
build: flac/sw_metadata_wrap.c flac/decoder_wrap.c flac/encoder_wrap.c
- ./setup.py build
+ CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} ./setup.py build
%_wrap.c: %.i flac/format.i
swig -python $<