pkgsrc/audio/maplay/patches/patch-aa
wiz 804a257505 Unconditionalize the DragonFly patches for newer c++.
Use patches instead of sed.
Set LICENSE while here.
2011-11-22 20:57:34 +00:00

23 lines
509 B
Text

$NetBSD: patch-aa,v 1.5 2011/11/22 20:57:35 wiz Exp $
--- Makefile.orig 1994-06-23 12:14:46.000000000 +0000
+++ Makefile
@@ -39,7 +39,7 @@ OBJS = maplay.o ibitstream.o header.o sc
.SUFFIXES: .cc
-install:
+pre-install:
@./configuration.sh
all: maplay
@@ -48,6 +48,9 @@ maplay: $(OBJS)
$(COMPILER) $(CFLAGS) $(OBJS) -o $@ $(LIBRARIES) -lm
-strip $@
+install: all
+ ${INSTALL} -s -c -m 755 maplay ${DESTDIR}${PREFIX}/bin
+
.cc.o:
$(COMPILER) -c $(CFLAGS) $(INCLUDEDIRS) $*.cc -o $@