freebsd-ports/audio/grip/files/patch-aa
James E. Housley a175bb6558 Update to version 0.65
PR:		22246
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-10-23 19:51:17 +00:00

33 lines
718 B
Plaintext

--- Makefile.orig Thu Oct 19 04:12:53 2000
+++ Makefile Fri Oct 20 20:33:10 2000
@@ -4,24 +4,24 @@
OS=$(shell uname -s)
# Compiler
-CC= gcc
+CC?= gcc
# Install prefix
-PREFIX=/usr
+PREFIX?=/usr/local
# Installation directory -- where the binary will go
INSTALLDIR= $(PREFIX)/bin
# Location to store auxilliary files
-AUXDIR= $(PREFIX)/lib/grip
+AUXDIR= $(PREFIX)/etc
# Compiler flags
-CFLAGS= -Wall `gtk-config --cflags` -DAUXDIR=\"$(AUXDIR)\" \
+CFLAGS+= `$(GTK_CONFIG) --cflags gthread` -DAUXDIR=\"$(AUXDIR)\" \
-DINSTALLDIR=\"$(INSTALLDIR)\" -D_REENTRANT
# Link libraries
-LIBS= `gtk-config --libs gthread`
+LIBS= `$(GTK_CONFIG) --libs gthread`
ifeq ($(OS), Linux)
LIBS+= -lpthread
endif