summaryrefslogtreecommitdiff
path: root/lang/mpd/patches/patch-as
blob: 7aa6b55568f3b76281fd1b8f87e0854d54175b12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
$NetBSD: patch-as,v 1.3 2015/12/29 23:34:52 dholland Exp $

Build with optimization.
DESTDIR support.

--- Makefile.orig	2001-02-06 19:30:37.000000000 +0100
+++ Makefile
@@ -4,7 +4,7 @@
 
 
 CC = cc
-CFLAGS = -g  
+CFLAGS = -O3 -Wall
 MAKE = make
 SHELL = /bin/sh
 
@@ -34,7 +34,7 @@ all:	config
 
 ##  Install everything.
 
-install:  paths.sh	; sh install.sh
+install:  paths.sh	; sh install.sh ${DESTDIR}
 
 
 
@@ -212,6 +212,9 @@ vscripts:  ; @cd vsuite; find * -name Sc
 
 
 
+verify:
+	mpdv/mpdv
+
 #  run some distributed tests with mpdv
 
 mpdvdist: