summaryrefslogtreecommitdiff
path: root/multimedia/mplayer-share
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2012-11-29 17:27:17 +0000
committerdrochner <drochner@pkgsrc.org>2012-11-29 17:27:17 +0000
commit027510c6dcd94dc2abe8c7705a0de0f07590251a (patch)
tree000a4770836bbb72d617126575927a22b5720a15 /multimedia/mplayer-share
parentfa95ef6bb38c70916c0ca080755f08be9bde8a4c (diff)
downloadpkgsrc-027510c6dcd94dc2abe8c7705a0de0f07590251a.tar.gz
make the "debug" option work
Diffstat (limited to 'multimedia/mplayer-share')
-rw-r--r--multimedia/mplayer-share/distinfo4
-rw-r--r--multimedia/mplayer-share/options.mk5
-rw-r--r--multimedia/mplayer-share/patches/patch-aa11
3 files changed, 15 insertions, 5 deletions
diff --git a/multimedia/mplayer-share/distinfo b/multimedia/mplayer-share/distinfo
index 255cf1e6954..c09022632e4 100644
--- a/multimedia/mplayer-share/distinfo
+++ b/multimedia/mplayer-share/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.78 2012/06/11 21:59:42 wiz Exp $
+$NetBSD: distinfo,v 1.79 2012/11/29 17:27:17 drochner Exp $
SHA1 (mplayer/MPlayer-1.1.tar.gz) = e46e3294bc96daabe604e4e195721e4f2d1e5b48
RMD160 (mplayer/MPlayer-1.1.tar.gz) = 0369e57677c0c30f3b05f80ee1c4d8d7d1217e63
Size (mplayer/MPlayer-1.1.tar.gz) = 17018391 bytes
-SHA1 (patch-aa) = b341210297274b589162f4b6e2b0206467a130a2
+SHA1 (patch-aa) = 9a917441fdd2edfd7808f4c97fd5ca9ee2538392
SHA1 (patch-ae) = 286f5ac075ea4123a1a6276f97e02a4dda9b3e67
SHA1 (patch-an) = a1d16ce7a4ff5a2071a7bac1b6836dc197b849e4
SHA1 (patch-libao2_ao_sun.c) = ce7042b394b9b8c051597c734b70290c8bf0a8d5
diff --git a/multimedia/mplayer-share/options.mk b/multimedia/mplayer-share/options.mk
index eb82ca6635e..366e173988b 100644
--- a/multimedia/mplayer-share/options.mk
+++ b/multimedia/mplayer-share/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.46 2012/10/28 23:40:24 wiz Exp $
+# $NetBSD: options.mk,v 1.47 2012/11/29 17:27:17 drochner Exp $
.if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*)
@@ -140,7 +140,8 @@ CONFIGURE_ARGS+= --disable-cdparanoia
.endif
.if !empty(PKG_OPTIONS:Mdebug)
-CONFIGURE_ARGS+= --enable-debug
+CONFIGURE_ARGS+= --enable-debug --disable-sighandler
+INSTALL_UNSTRIPPED= yes
.endif
.if !empty(PKG_OPTIONS:Mdts)
diff --git a/multimedia/mplayer-share/patches/patch-aa b/multimedia/mplayer-share/patches/patch-aa
index 3fe229a1c2d..f1c59e57c8c 100644
--- a/multimedia/mplayer-share/patches/patch-aa
+++ b/multimedia/mplayer-share/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.29 2012/06/11 21:55:34 wiz Exp $
+$NetBSD: patch-aa,v 1.30 2012/11/29 17:27:17 drochner Exp $
o Handle properly sh3 ports on NetBSD.
o Fix CPU family detection on NetBSD with /proc mounted with "-o linux"
@@ -52,6 +52,15 @@ o Add support for dvb capture on NetBSD.
arch='sh4'
iproc='sh4'
;;
+@@ -2591,7 +2597,7 @@ fi # if darwin && test "$cc_vendor" = "g
+ # Checking for CFLAGS
+ _install_strip="-s"
+ if test "$_profile" != "" || test "$_debug" != "" ; then
+- CFLAGS="-O2 $_march $_mcpu $_pipe $_debug $_profile"
++ CFLAGS="$CFLAGS $_debug $_profile"
+ WARNFLAGS="-W -Wall"
+ _install_strip=
+ elif test -z "$CFLAGS" ; then
@@ -4288,7 +4294,11 @@ if test "$_x11" = auto && test "$_x11_he
-L/usr/X11/lib -L/usr/lib32 -L/usr/openwin/lib -L/usr/local/lib64 -L/usr/X11R6/lib64 \
-L/usr/lib ; do