summaryrefslogtreecommitdiff
path: root/audio/gmodplay/patches/patch-ah
blob: 6cf6e1fd9b7b0c5b4fb5ee15a837e1c7a897c59a (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
$NetBSD: patch-ah,v 1.1.1.1 2001/03/19 19:35:52 wiz Exp $

--- Makefile.orig	Mon Oct  5 01:36:12 1998
+++ Makefile	Sun Jan 28 14:17:57 2001
@@ -24,13 +24,13 @@
 TOPDIR  := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
 # TOPDIR  := $(CURDIR)
 
-CFLAGS   = -O1 -D__GMODVER__=\"$(VERSION)\" -pipe \
-	    -I $(TOPDIR)/include `glib-config --cflags`
+CFLAGS   += -D__GMODVER__=\"$(VERSION)\" -pipe \
+	    -I$(TOPDIR)/include `glib-config --cflags`
 
 #CFLAGS   = -O2 -D__GMODVER__=\"$(VERSION)\" -pipe -march=pentiumpro \
 #	    -I $(TOPDIR)/include `glib-config --cflags`
 
-LDFLAGS  = -lstdc++ `glib-config --libs`
+LDFLAGS  += -lstdc++ `glib-config --libs`
 SUBDIRS  = sndlib common
 
 ifndef DEBUG
@@ -71,6 +71,7 @@
 
 all:  gmodplay
 
+install:
 
 gmodplay: $(SUBDIRS)
 	$(CC) -o $@ $(ALLOBJECTS) $(LDFLAGS)