aboutsummaryrefslogtreecommitdiff
path: root/audio/bonk
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-06-14 14:33:24 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-06-14 14:33:24 +0000
commit9e93966b7c7796783884dcaf95d3e9eacbc8f5e7 (patch)
treedaf60dbfbe8b7a0a9ffd1a2c2d721d62fe686ca2 /audio/bonk
parent51d9e9ebf41699896d86dce1487e169ad1f5a102 (diff)
downloadports-9e93966b7c7796783884dcaf95d3e9eacbc8f5e7.tar.gz
ports-9e93966b7c7796783884dcaf95d3e9eacbc8f5e7.zip
* Take maintainership.
* Fix compilation with gcc 3.1; from Marc Espie <espie@openbsd.org>. * Override variables with MAKE_ARGS instead of patching Makefile.
Notes
Notes: svn path=/head/; revision=61264
Diffstat (limited to 'audio/bonk')
-rw-r--r--audio/bonk/Makefile6
-rw-r--r--audio/bonk/files/patch-Makefile10
-rw-r--r--audio/bonk/files/patch-bonk.cc14
-rw-r--r--audio/bonk/pkg-plist1
4 files changed, 19 insertions, 12 deletions
diff --git a/audio/bonk/Makefile b/audio/bonk/Makefile
index d337a7d35f09..adced008d2d7 100644
--- a/audio/bonk/Makefile
+++ b/audio/bonk/Makefile
@@ -1,4 +1,3 @@
-# ex:ts=8
# New ports collection makefile for: bonk
# Date created: Jun 1, 2001
# Whom: ijliao
@@ -11,6 +10,9 @@ PORTVERSION= 0.5
CATEGORIES= audio
MASTER_SITES= http://yoyo.cc.monash.edu.au/~pfh/bonk/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= naddy@FreeBSD.org
+
+MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
+ PREFIX="${PREFIX}" INSTALL="${INSTALL_PROGRAM}"
.include <bsd.port.mk>
diff --git a/audio/bonk/files/patch-Makefile b/audio/bonk/files/patch-Makefile
deleted file mode 100644
index dd32a174cee5..000000000000
--- a/audio/bonk/files/patch-Makefile
+++ /dev/null
@@ -1,10 +0,0 @@
---- Makefile.orig Thu Jul 12 00:16:45 2001
-+++ Makefile Thu Jul 12 00:17:05 2001
-@@ -1,7 +1,4 @@
-
--PREFIX= /usr
--CXX= g++
--CXXFLAGS= -O3 -funroll-loops
- INSTALL= install -c
-
- # Uncomment this line for Linux and FreeBSD
diff --git a/audio/bonk/files/patch-bonk.cc b/audio/bonk/files/patch-bonk.cc
new file mode 100644
index 000000000000..08104eda0258
--- /dev/null
+++ b/audio/bonk/files/patch-bonk.cc
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- bonk.cc.orig Fri Jun 14 16:18:52 2002
++++ bonk.cc Fri Jun 14 16:19:13 2002
+@@ -38,6 +38,8 @@
+ #include <string>
+ #include <algorithm>
+
++using namespace std;
++
+ // Support from Linux and *BSD sound output
+
+ #if defined(__linux__)
diff --git a/audio/bonk/pkg-plist b/audio/bonk/pkg-plist
index 0413ff4a2f17..55787fedd4c0 100644
--- a/audio/bonk/pkg-plist
+++ b/audio/bonk/pkg-plist
@@ -1 +1,2 @@
+@comment $FreeBSD$
bin/bonk