pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Modular Xorg support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d20bb1a7a28c
branches:  trunk
changeset: 524838:d20bb1a7a28c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Feb 02 00:55:15 2007 +0000

description:
Modular Xorg support.

diffstat:

 games/angband-x11/Makefile |   8 ++++++--
 games/xsc/Makefile         |   8 +++++---
 games/xsc/distinfo         |   4 ++--
 games/xsc/patches/patch-ab |  22 +++++++++++++++++-----
 games/xtris/Makefile       |   5 ++---
 games/xworm/Makefile       |   5 ++---
 games/xzip/Makefile        |   4 ++--
 net/synergy/Makefile       |  11 +++++++----
 parallel/pvm3/Makefile     |   6 +++---
 9 files changed, 46 insertions(+), 27 deletions(-)

diffs (223 lines):

diff -r 6b969d70cfbf -r d20bb1a7a28c games/angband-x11/Makefile
--- a/games/angband-x11/Makefile        Fri Feb 02 00:34:13 2007 +0000
+++ b/games/angband-x11/Makefile        Fri Feb 02 00:55:15 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2006/10/04 21:43:00 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2007/02/02 01:04:00 joerg Exp $
 #
 
 DISTNAME=      angband-3.0.3
@@ -36,6 +36,10 @@
        ${CHOWN} -R bin:games ${PREFIX}/share/games/angband
        ${FIND} ${PREFIX}/share/games/angband -name delete.me -exec ${RM} {} \;
 
+BUILDLINK_DEPMETHOD.libXt?=    build
+
 .include "../../devel/ncurses/buildlink3.mk"
-.include "../../mk/x11.buildlink3.mk"
+.include "../../x11/libSM/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6b969d70cfbf -r d20bb1a7a28c games/xsc/Makefile
--- a/games/xsc/Makefile        Fri Feb 02 00:34:13 2007 +0000
+++ b/games/xsc/Makefile        Fri Feb 02 00:55:15 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/07/22 04:46:15 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2007/02/02 01:13:57 joerg Exp $
 #
 
 DISTNAME=              xsc-1.5
@@ -14,11 +14,13 @@
 USE_LANGUAGES=         c c++
 INSTALLATION_DIRS=     bin
 
-.include "../../mk/x11.buildlink3.mk"
-
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/xsc ${PREFIX}/bin/xsc
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xsc
        ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xsc
 
+BUILDLINK_DEPMETHOD.libXt?=    build
+
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6b969d70cfbf -r d20bb1a7a28c games/xsc/distinfo
--- a/games/xsc/distinfo        Fri Feb 02 00:34:13 2007 +0000
+++ b/games/xsc/distinfo        Fri Feb 02 00:55:15 2007 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2006/09/19 23:31:40 joerg Exp $
+$NetBSD: distinfo,v 1.5 2007/02/02 01:13:57 joerg Exp $
 
 SHA1 (xsc-1.5.tar.gz) = 3b6b71c2e9d132c56e276896f4869dc08a0e43a3
 RMD160 (xsc-1.5.tar.gz) = d2519f75ad3089215b4c89ee765d1585de37db33
 Size (xsc-1.5.tar.gz) = 86015 bytes
 SHA1 (patch-aa) = 4da7181d8037d0d334fbd5330a91a45a50b59753
-SHA1 (patch-ab) = 5140c951066a672610799ae7fd1fc8b4c5f2876d
+SHA1 (patch-ab) = 5512a83e5c35125513594d160c8b5de2bce0f48a
diff -r 6b969d70cfbf -r d20bb1a7a28c games/xsc/patches/patch-ab
--- a/games/xsc/patches/patch-ab        Fri Feb 02 00:34:13 2007 +0000
+++ b/games/xsc/patches/patch-ab        Fri Feb 02 00:55:15 2007 +0000
@@ -1,8 +1,20 @@
-$NetBSD: patch-ab,v 1.1 2006/09/19 23:31:40 joerg Exp $
+$NetBSD: patch-ab,v 1.2 2007/02/02 01:13:57 joerg Exp $
 
---- configure.orig     2006-09-20 01:23:24.000000000 +0000
+--- configure.orig     2005-01-02 19:10:05.000000000 +0000
 +++ configure
-@@ -2236,31 +2236,11 @@ if eval "test \"`echo '$''{'ac_cv_func_$
+@@ -1283,9 +1283,10 @@ if test "$ac_x_libraries" = NO; then
+ cat > conftest.$ac_ext <<EOF
+ #line 1285 "configure"
+ #include "confdefs.h"
++#include <X11/Intrinsic.h>
+ 
+ int main() {
+-${x_direct_test_function}()
++XtMalloc(0)
+ ; return 0; }
+ EOF
+ if { (eval echo configure:1292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+@@ -2236,31 +2237,11 @@ if eval "test \"`echo '$''{'ac_cv_func_$
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
@@ -37,7 +49,7 @@
  EOF
  if { (eval echo configure:2266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
-@@ -2354,55 +2334,71 @@ fi
+@@ -2354,55 +2335,71 @@ fi
  done
  
  
@@ -139,7 +151,7 @@
    cat >> confdefs.h <<EOF
  #define $ac_tr_func 1
  EOF
-@@ -2411,8 +2407,6 @@ else
+@@ -2411,8 +2408,6 @@ else
    echo "$ac_t""no" 1>&6
  false
  fi
diff -r 6b969d70cfbf -r d20bb1a7a28c games/xtris/Makefile
--- a/games/xtris/Makefile      Fri Feb 02 00:34:13 2007 +0000
+++ b/games/xtris/Makefile      Fri Feb 02 00:55:15 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/12/27 12:43:58 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2007/02/02 01:06:57 joerg Exp $
 #
 
 DISTNAME=      xtris-1.15
@@ -19,8 +19,6 @@
 
 INSTALLATION_DIRS=     bin ${PREFIX}/${PKGMANDIR}/man6
 
-.include "../../mk/x11.buildlink3.mk"
-
 do-install:
        ${INSTALL_GAME} ${WRKSRC}/xtris ${PREFIX}/bin/xtris
        ${INSTALL_GAME} ${WRKSRC}/xtbot ${PREFIX}/bin/xtbot
@@ -29,4 +27,5 @@
        ${INSTALL_MAN} ${WRKSRC}/xtbot.6 ${PREFIX}/${PKGMANDIR}/man6/xtbot.6
        ${INSTALL_MAN} ${WRKSRC}/xtserv.6 ${PREFIX}/${PKGMANDIR}/man6/xtserv.6
 
+.include "../../x11/libX11/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6b969d70cfbf -r d20bb1a7a28c games/xworm/Makefile
--- a/games/xworm/Makefile      Fri Feb 02 00:34:13 2007 +0000
+++ b/games/xworm/Makefile      Fri Feb 02 00:55:15 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/02/05 23:09:26 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2007/02/02 01:08:01 joerg Exp $
 
 DISTNAME=      xworm102
 PKGNAME=       xworm-1.02
@@ -14,8 +14,6 @@
 
 INSTALLATION_DIRS=     bin
 
-.include "../../mk/x11.buildlink3.mk"
-
 do-install:
        @ ${INSTALL_PROGRAM} ${WRKSRC}/xworm ${PREFIX}/bin
        @ ${INSTALL_DATA_DIR} ${PREFIX}/share/xworm
@@ -23,4 +21,5 @@
        ${INSTALL_DATA} ${WRKSRC}/xworm.${file} ${PREFIX}/share/xworm
 .endfor
 
+.include "../../x11/libXt/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6b969d70cfbf -r d20bb1a7a28c games/xzip/Makefile
--- a/games/xzip/Makefile       Fri Feb 02 00:34:13 2007 +0000
+++ b/games/xzip/Makefile       Fri Feb 02 00:55:15 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/02/05 23:09:26 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2007/02/02 01:05:20 joerg Exp $
 
 DISTNAME=              xzip180
 PKGNAME=               xzip-1.8
@@ -15,5 +15,5 @@
 USE_X11BASE=           yes
 BUILD_TARGET=          xzip
 
-.include "../../mk/x11.buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6b969d70cfbf -r d20bb1a7a28c net/synergy/Makefile
--- a/net/synergy/Makefile      Fri Feb 02 00:34:13 2007 +0000
+++ b/net/synergy/Makefile      Fri Feb 02 00:55:15 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/08/23 09:13:24 minskim Exp $
+# $NetBSD: Makefile,v 1.8 2007/02/02 00:55:15 joerg Exp $
 #
 
 DISTNAME=              synergy-1.3.1
@@ -18,9 +18,6 @@
 EXAMPLESDIR=           ${PREFIX}/share/examples/${PKGBASE}
 DOCS=                  *.html *.css images/*.gif
 
-.include "../../mk/x11.buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-
 post-install:
        ${INSTALL_DATA_DIR} ${DOCDIR}/images
        cd ${WRKSRC}/doc; \
@@ -30,4 +27,10 @@
        ${INSTALL_DATA_DIR} ${EXAMPLESDIR}
        ${INSTALL_DATA} ${WRKSRC}/examples/synergy.conf ${EXAMPLESDIR}
 
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../x11/libXtst/buildlink3.mk"
+.include "../../x11/xextproto/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6b969d70cfbf -r d20bb1a7a28c parallel/pvm3/Makefile
--- a/parallel/pvm3/Makefile    Fri Feb 02 00:34:13 2007 +0000
+++ b/parallel/pvm3/Makefile    Fri Feb 02 00:55:15 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2007/01/09 02:22:03 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.48 2007/02/02 01:04:06 joerg Exp $
 
 DISTNAME=      pvm3.4.5
 PKGNAME=       pvm-3.4.5
@@ -42,8 +42,6 @@
 PVM_DIR=               ${PREFIX}/pvm3
 BUILDLINK_PASSTHRU_RPATHDIRS+= ${PVM_DIR}/lib/${PVM_ARCH}
 
-.include "../../mk/x11.buildlink3.mk"
-
 post-extract:
        ${CP} ${FILESDIR}/DRAGONFLY.m4 ${FILESDIR}/DRAGONFLY.def ${WRKSRC}/conf
 
@@ -110,4 +108,6 @@
        ${RM} ${PREFIX}/${PKGMANDIR}/man1/PVM.1
        ${LN} -s ${PREFIX}/${PKGMANDIR}/man1/pvm_intro.1 ${PREFIX}/${PKGMANDIR}/man1/PVM.1
 
+.include "../../x11/libXaw/buildlink3.mk"
+.include "../../x11/libXp/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index