respect CXX/CFLAGS; patch from pvalchev@
This commit is contained in:
parent
cc0e85049d
commit
2e9731c258
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2001/07/03 02:40:21 pvalchev Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2001/07/03 19:12:55 jsyn Exp $
|
||||
|
||||
COMMENT= "network performance measuring tool"
|
||||
|
||||
@ -18,6 +18,8 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ftp://ftp.opnix.com/pub/oproute/ \
|
||||
http://www.wiretapped.net/security/network-monitoring/oproute/
|
||||
|
||||
MAKE_FLAGS= CXX="${CXX}" CFLAGS="${CFLAGS}"
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/oproute
|
||||
|
@ -1,12 +1,20 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2001/07/03 02:40:21 pvalchev Exp $
|
||||
--- Makefile.orig Sun Jun 24 15:31:49 2001
|
||||
+++ Makefile Sun Jun 24 15:32:49 2001
|
||||
@@ -1,7 +1,7 @@
|
||||
$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
|
||||
-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)
|
||||
|
Loading…
Reference in New Issue
Block a user