openbsd-ports/audio/audacious-plugins/patches/patch-src_aac_src_Makefile
jakemsr 0b91431068 use a MAKE_ENV variable instead of patching and then substituting
in a Makefile in pre-configure

"yes, go ahead."  steven@
2007-06-01 18:19:45 +00:00

13 lines
528 B
Plaintext

$OpenBSD: patch-src_aac_src_Makefile,v 1.3 2007/06/01 18:19:45 jakemsr Exp $
--- src/aac/src/Makefile.orig Wed Apr 4 20:38:00 2007
+++ src/aac/src/Makefile Sun Apr 8 11:28:33 2007
@@ -8,7 +8,7 @@ CFLAGS += $(PICFLAGS)
# override objective make's LIBDIR
LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-LDFLAGS += ../libfaad2/libfaad.a ../mp4ff/libmp4ff.a -lstdc++
+LDFLAGS += -L$(LOCALBASE)/lib -lfaad -lmp4ff -lstdc++
SOURCES = libmp4.c mp4_utils.c aac_utils.c tagging_mp4.c