openbsd-ports/audio/daapd/patches/patch-daaplib_src_makefile

23 lines
578 B
Plaintext

$OpenBSD: patch-daaplib_src_makefile,v 1.1.1.1 2005/01/21 06:49:11 jolan Exp $
--- daaplib/src/makefile.orig Tue Jan 4 17:18:48 2005
+++ daaplib/src/makefile Thu Jan 20 22:45:53 2005
@@ -1,4 +1,4 @@
-CC = g++
+#CC = g++
AR = ar
CP = cp
RM = rm
@@ -11,10 +11,10 @@ LIBPATH =
LIBDEPLOY = /usr/local/lib
INCDEPLOY = /usr/local/include
INCPATH = ../include
-CFLAGS = -Wall -Wno-multichar
+CFLAGS+= -Wall -Wno-multichar
.cpp.o:
- $(CC) $(CFLAGS) -I$(INCPATH) -c $<
+ $(CXX) $(CFLAGS) -I$(INCPATH) -c $<
$(TARGET): $(OBJS)
$(AR) rs $(TARGET) $(OBJS)