honour CC, CXX

This commit is contained in:
bluhm 2017-02-27 01:42:06 +00:00
parent 7537637499
commit df26d0ed5b
2 changed files with 4 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2015/07/01 11:33:50 bluhm Exp $
# $OpenBSD: Makefile,v 1.5 2017/02/27 01:42:06 bluhm Exp $
COMMENT= RTSP proxy reference implementation
@ -16,8 +16,6 @@ PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://docs.real.com/docs/proxykit/
CONFIGURE_STYLE= simple
CONFIGURE_ENV= CFLAGS="${CFLAGS}" \
CXXFLAGS="${CXXFLAGS}"
NO_TEST=Yes

View File

@ -1,13 +1,11 @@
$OpenBSD: patch-configure,v 1.2 2015/07/01 11:33:50 bluhm Exp $
$OpenBSD: patch-configure,v 1.3 2017/02/27 01:42:06 bluhm Exp $
--- configure.orig Fri Feb 9 07:07:26 2001
+++ configure Tue Nov 11 19:12:06 2014
@@ -135,6 +135,23 @@ case "$UNAME_S" in
+++ configure Mon Feb 27 02:09:54 2017
@@ -135,6 +135,21 @@ case "$UNAME_S" in
ARFLAGS="-rc"
SYSLIBS="-lnsl -lsocket"
;;
+ OpenBSD)
+ CC=gcc
+ CXX=g++
+ AR=ar
+ ARFLAGS="-rc"
+ if [ "$DEBUG" -ne 0 ]; then