aboutsummaryrefslogtreecommitdiffstats
path: root/audio/opmixer
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2004-03-28 20:50:27 +0800
committertrevor <trevor@FreeBSD.org>2004-03-28 20:50:27 +0800
commit3988ecee1e986c0cff1913e819666b1f18ea6edf (patch)
tree7c3b4221012044ca2e1a059159b1d77c44b15edf /audio/opmixer
parentc40cd31cc056cff4c8aa8765e59cca256a4b3236 (diff)
downloadfreebsd-ports-gnome-3988ecee1e986c0cff1913e819666b1f18ea6edf.tar.gz
freebsd-ports-gnome-3988ecee1e986c0cff1913e819666b1f18ea6edf.tar.zst
freebsd-ports-gnome-3988ecee1e986c0cff1913e819666b1f18ea6edf.zip
Avoid linking with libintl. As found by kris, opmixer does not
really use it (PORTREVISION 4).
Diffstat (limited to 'audio/opmixer')
-rw-r--r--audio/opmixer/Makefile3
-rw-r--r--audio/opmixer/files/patch-Makefile10
2 files changed, 7 insertions, 6 deletions
diff --git a/audio/opmixer/Makefile b/audio/opmixer/Makefile
index 010b8c71432d..f70c5d4325d6 100644
--- a/audio/opmixer/Makefile
+++ b/audio/opmixer/Makefile
@@ -7,7 +7,7 @@
PORTNAME= opmixer
PORTVERSION= 0.70
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= optronic
@@ -19,7 +19,6 @@ LIB_DEPENDS= gtkmm.2:${PORTSDIR}/x11-toolkits/gtk--
DOCDIR= share/doc/${PORTNAME}
USE_BZIP2= yes
-USE_GETTEXT= yes
USE_X_PREFIX= yes
PLIST= ${WRKDIR}/pkg-plist
WRKSRC= ${WRKDIR}/opmixer
diff --git a/audio/opmixer/files/patch-Makefile b/audio/opmixer/files/patch-Makefile
index 27e401cf51ef..719f46977f0a 100644
--- a/audio/opmixer/files/patch-Makefile
+++ b/audio/opmixer/files/patch-Makefile
@@ -1,13 +1,15 @@
$FreeBSD$
---- Makefile.orig Wed Jun 20 16:34:12 2001
-+++ Makefile Sat Sep 21 14:52:09 2002
-@@ -1,6 +1,6 @@
+--- Makefile.orig Wed Jun 20 23:34:12 2001
++++ Makefile Sun Mar 28 12:49:48 2004
+@@ -1,7 +1,7 @@
# Generated automatically from Makefile.in by configure.
-CFLAGS := -g -O2 -DLINUX -Wall
-CXXFLAGS := -g -O2 -DLINUX -Wall -I/usr/local/include `gtkmm-config --cflags`
+-LDFLAGS := `gtkmm-config --libs`
+CFLAGS += -DLINUX
+CXXFLAGS += -DLINUX `gtkmm-config --cflags`
- LDFLAGS := `gtkmm-config --libs`
++LDFLAGS := `gtkmm-config --libs | sed 's/-lintl//'`
all: opmixer opmixer-load volset
+ %.o : %.c