$OpenBSD: patch-app_Makefile_in,v 1.6 2017/11/04 19:12:25 espie Exp $
Index: app/Makefile.in
--- app/Makefile.in.orig
+++ app/Makefile.in
@@ -108,7 +108,7 @@ LDFLAGS = @LDFLAGS@
 LIBICONV = @LIBICONV@
 LIBINTL = @LIBINTL@
 LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
+LIBS = @LIBS@ -lm
 LTLIBICONV = @LTLIBICONV@
 LTLIBINTL = @LTLIBINTL@
 LTLIBOBJS = @LTLIBOBJS@
@@ -661,7 +661,7 @@ info-am:
 
 install-data-am:
 
-install-exec-am: install-binPROGRAMS install-exec-local
+install-exec-am: install-binPROGRAMS
 
 install-info: install-info-recursive
 
@@ -709,29 +709,6 @@ uninstall-info: uninstall-info-recursive
 	uninstall-info-recursive uninstall-recursive
 
 
-install-exec-local:
-	case `uname` in \
-	  OpenBSD) \
-	    chown root.wheel $(bindir)/soundtracker; \
-	    ;; \
-	  NetBSD) \
-	    chown root.wheel $(bindir)/soundtracker; \
-	    ;; \
-	  Darwin) \
-	    chown root:admin $(bindir)/soundtracker; \
-	    ;; \
-	  *) \
-	    chown root:root $(bindir)/soundtracker; \
-	    ;; \
-	esac
-	chmod +s $(bindir)/soundtracker
-	@echo ""
-	@echo "***"
-	@echo "*** Installing SoundTracker suid root."
-	@echo "*** This improves sound responsivity, but may be a security risk"
-	@echo "*** if this is a multi-user machine. See file INSTALL."
-	@echo "***"
-	@echo ""
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
