pkgsrc/audio/nosefart/patches/patch-aa
obache 5c15a4fc45 * set LICENSE=gnu-gpl-v2
* fixes build with recent gmake.
2010-09-26 08:11:22 +00:00

26 lines
567 B
Text

$NetBSD: patch-aa,v 1.3 2010/09/26 08:11:22 obache Exp $
--- Makefile.orig 2004-08-13 00:19:33.000000000 +0000
+++ Makefile
@@ -1,9 +1,9 @@
################################
# Configuration
-CC = gcc
-CFLAGS =
-LDFLAGS = -lm
+#CC = gcc
+#CFLAGS =
+LDFLAGS += -lm ${LIBOSSAUDIO}
PREFIX = /usr
WANT_DEBUG=TRUE
@@ -83,7 +83,7 @@ $(BUILDTOP)/config.h: $(BUILDDIR) Makefi
$(BUILDDIR)/dep: $(BUILDTOP)/config.h
$(CC) $(NSFINFO_CFLAGS) $(CFLAGS) -M $(SOURCES) > $@
--include $(BUILDDIR)/dep/
+-include $(BUILDDIR)/dep
install: all
mkdir -p $(PREFIX)/bin