openbsd-ports/audio/nosefart/patches/patch-Makefile

29 lines
650 B
Plaintext

$OpenBSD: patch-Makefile,v 1.3 2011/04/20 14:39:21 naddy Exp $
--- Makefile.orig Fri Aug 13 02:19:33 2004
+++ Makefile Wed Apr 20 00:47:18 2011
@@ -1,11 +1,11 @@
################################
# Configuration
-CC = gcc
-CFLAGS =
-LDFLAGS = -lm
+#CC = gcc
+#CFLAGS =
+LDFLAGS = -lm -lsndio
PREFIX = /usr
-WANT_DEBUG=TRUE
+#WANT_DEBUG=TRUE
# nothing below here should need to be changed
@@ -83,7 +83,7 @@ $(BUILDTOP)/config.h: $(BUILDDIR) Makefile
$(BUILDDIR)/dep: $(BUILDTOP)/config.h
$(CC) $(NSFINFO_CFLAGS) $(CFLAGS) -M $(SOURCES) > $@
--include $(BUILDDIR)/dep/
+-include $(BUILDDIR)/dep
install: all
mkdir -p $(PREFIX)/bin