pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/alsa-plugins-oss Cleanup configure patch. DESTDI...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/03ff5075a2f1
branches:  trunk
changeset: 395129:03ff5075a2f1
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 07 14:45:41 2009 +0000

description:
Cleanup configure patch. DESTDIR support. Simplify.

diffstat:

 audio/alsa-plugins-oss/Makefile         |  12 ++++++------
 audio/alsa-plugins-oss/distinfo         |   4 ++--
 audio/alsa-plugins-oss/patches/patch-aa |  11 +----------
 3 files changed, 9 insertions(+), 18 deletions(-)

diffs (69 lines):

diff -r 175576e9dffc -r 03ff5075a2f1 audio/alsa-plugins-oss/Makefile
--- a/audio/alsa-plugins-oss/Makefile   Tue Jul 07 14:37:21 2009 +0000
+++ b/audio/alsa-plugins-oss/Makefile   Tue Jul 07 14:45:41 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/12/19 12:34:22 jmcneill Exp $
+# $NetBSD: Makefile,v 1.3 2009/07/07 14:45:41 joerg Exp $
 #
 
 DISTNAME=      alsa-plugins-1.0.18
@@ -11,18 +11,18 @@
 HOMEPAGE=      http://www.alsa-project.org/
 COMMENT=       Advanced Linux Sound Architecture (ALSA) - OSS plugin
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE= yes
 USE_TOOLS=     pkg-config gmake
 USE_LIBTOOL=   yes
 
+.include "../../mk/bsd.prefs.mk"
+
 CFLAGS+=       -DDEVOSSAUDIO=\"${DEVOSSAUDIO:U/dev/dsp}\"
 LIBS+=         ${LIBOSSAUDIO}
 
-do-build:
-       cd ${WRKSRC}/oss && ${GMAKE}
-
-do-install:
-       cd ${WRKSRC}/oss && ${GMAKE} install
+BUILD_DIRS=    oss
 
 .include "../../audio/alsa-lib/buildlink3.mk"
 .include "../../mk/oss.buildlink3.mk"
diff -r 175576e9dffc -r 03ff5075a2f1 audio/alsa-plugins-oss/distinfo
--- a/audio/alsa-plugins-oss/distinfo   Tue Jul 07 14:37:21 2009 +0000
+++ b/audio/alsa-plugins-oss/distinfo   Tue Jul 07 14:45:41 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/12/19 04:03:22 jmcneill Exp $
+$NetBSD: distinfo,v 1.2 2009/07/07 14:45:41 joerg Exp $
 
 SHA1 (alsa-plugins-1.0.18.tar.bz2) = 33b5eca861de35a6eeb47862f24a8663af56cd0a
 RMD160 (alsa-plugins-1.0.18.tar.bz2) = 83b570d5346c7c79f5fe628e381ba1cf8e5a69db
 Size (alsa-plugins-1.0.18.tar.bz2) = 312656 bytes
-SHA1 (patch-aa) = af3bc837cab95c8f042b6e041c89b03e171f1a73
+SHA1 (patch-aa) = 77774e607905f3930ffec503c04d6dd1f70d9946
 SHA1 (patch-ab) = 9cf0bda9f1928f46d0d5eac9464b790710ea2fda
 SHA1 (patch-ac) = 13da103ce3daad29d3c715f8f7d58dcd7bb9a72c
diff -r 175576e9dffc -r 03ff5075a2f1 audio/alsa-plugins-oss/patches/patch-aa
--- a/audio/alsa-plugins-oss/patches/patch-aa   Tue Jul 07 14:37:21 2009 +0000
+++ b/audio/alsa-plugins-oss/patches/patch-aa   Tue Jul 07 14:45:41 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2008/12/19 04:03:22 jmcneill Exp $
+$NetBSD: patch-aa,v 1.2 2009/07/07 14:45:41 joerg Exp $
 
 --- configure.orig     2008-10-29 08:47:45.000000000 -0400
 +++ configure
@@ -11,12 +11,3 @@
  cat >conftest.$ac_ext <<_ACEOF
  /* confdefs.h.  */
  _ACEOF
-@@ -21974,6 +21974,8 @@ do
-   case $ac_option in
-   # Handling of the options.
-   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
-+      : Avoid regenerating within pkgsrc
-+      exit 0
-     ac_cs_recheck=: ;;
-   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
-     echo "$ac_cs_version"; exit ;;



Home | Main Index | Thread Index | Old Index