aboutsummaryrefslogtreecommitdiffstats
path: root/audio/bonk
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-06-14 22:33:24 +0800
committernaddy <naddy@FreeBSD.org>2002-06-14 22:33:24 +0800
commit64d46f66a1d305741495f52ab32e8b587d0070cb (patch)
tree4266bfb7f8358492ae9a55f57f495e2f5ef430df /audio/bonk
parent444c9637d9f8181d545234241e71e42253e2b412 (diff)
downloadfreebsd-ports-gnome-64d46f66a1d305741495f52ab32e8b587d0070cb.tar.gz
freebsd-ports-gnome-64d46f66a1d305741495f52ab32e8b587d0070cb.tar.zst
freebsd-ports-gnome-64d46f66a1d305741495f52ab32e8b587d0070cb.zip
* Take maintainership.
* Fix compilation with gcc 3.1; from Marc Espie <espie@openbsd.org>. * Override variables with MAKE_ARGS instead of patching Makefile.
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