openbsd-ports/net/oproute/patches/patch-Makefile

21 lines
484 B
Plaintext

$OpenBSD: patch-Makefile,v 1.2 2001/07/03 19:12:55 jsyn Exp $
--- Makefile.orig Wed Feb 28 19:28:31 2001
+++ Makefile Mon Jul 2 20:57:23 2001
@@ -1,12 +1,13 @@
-CPPFLAGS = -O3
+CXX=g++
+CFLAGS=-O3
VERSION = 0.7
-BIN = /usr/local/bin
+BIN = ${PREFIX}/bin
all: oproute
oproute: oproute.cpp oproute.h main.cpp
- g++ $(CPPFLAGS) -o oproute oproute.cpp main.cpp jivastring.cpp
+ $(CXX) $(CFLAGS) -o oproute oproute.cpp main.cpp jivastring.cpp
install: all
install -d $(BIN)