diff options
author | jlam <jlam@pkgsrc.org> | 2001-08-23 04:26:51 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-08-23 04:26:51 +0000 |
commit | a17239c066dcfcad39db4003a2b8d421fa1bc881 (patch) | |
tree | 4bfa8b36ce531fe4f0f7472d5fdff888abf4b533 /editors/vim-xaw | |
parent | 79fe9eff8ce0ebb615cb7a647fadec6607504307 (diff) | |
download | pkgsrc-a17239c066dcfcad39db4003a2b8d421fa1bc881.tar.gz |
Move per-package default XAW_TYPE setting above the inclusion of
bsd.prefs.mk so that it is actually used. Where possible, include
xaw.buildlink.mk instead of setting USE_XAW, and use LIBXAW where needed.
Diffstat (limited to 'editors/vim-xaw')
-rw-r--r-- | editors/vim-xaw/Makefile | 12 | ||||
-rw-r--r-- | editors/vim-xaw/distinfo | 6 | ||||
-rw-r--r-- | editors/vim-xaw/patches/patch-aa | 6 | ||||
-rw-r--r-- | editors/vim-xaw/patches/patch-ad | 4 |
4 files changed, 14 insertions, 14 deletions
diff --git a/editors/vim-xaw/Makefile b/editors/vim-xaw/Makefile index 50fc6a6dbac..04681a0b0c0 100644 --- a/editors/vim-xaw/Makefile +++ b/editors/vim-xaw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2001/08/06 17:44:45 pooka Exp $ +# $NetBSD: Makefile,v 1.15 2001/08/23 04:26:52 jlam Exp $ .include "../vim-share/Makefile.common" @@ -10,7 +10,6 @@ DEPENDS+= vim-share-${VIM_VERSION}:../vim-share CONFLICTS+= vim-[0-9]* vim-gtk-* USE_X11= yes -USE_XAW= yes USE_BUILDLINK_ONLY= yes CONFIGURE_ARGS+= --enable-gui=athena @@ -21,11 +20,11 @@ INSTALL_TARGET= installvimbin .include "../../mk/bsd.prefs.mk" -.if (${XAW_TYPE} == "standard") -MAKE_ENV+= XAW_LIB=Xaw +.if defined(XAW_TYPE) && (${XAW_TYPE} == "3d" || ${XAW_TYPE} == "xpm") +MAKE_ENV+= XAW_LIB="Xaw3d" .else -.include "../../x11/Xaw3d/buildlink.mk" -MAKE_ENV+= XAW_LIB=Xaw3d +XAW_TYPE= standard +MAKE_ENV+= XAW_LIB="Xaw" .endif post-install: @@ -39,4 +38,5 @@ post-install: done .include "../../devel/ncurses/buildlink.mk" +.include "../../mk/xaw.buildlink.mk" .include "../../mk/bsd.pkg.mk" diff --git a/editors/vim-xaw/distinfo b/editors/vim-xaw/distinfo index d3a8fd62d06..12d29b4f045 100644 --- a/editors/vim-xaw/distinfo +++ b/editors/vim-xaw/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.4 2001/06/06 06:07:31 pooka Exp $ +$NetBSD: distinfo,v 1.5 2001/08/23 04:26:52 jlam Exp $ SHA1 (vim-5.8-src.tar.gz) = 36d83481cc2faaae57e0a890c1db4701de32c047 Size (vim-5.8-src.tar.gz) = 1112952 bytes -SHA1 (patch-aa) = 64a3214cbede9da0e3fc7a7ae20f66d1f05b889c -SHA1 (patch-ad) = 4bf0cc0a4df1bbd6cf1f9149dd22a8bdc727e03f +SHA1 (patch-aa) = 6ee4b1538cf6771eadb1dc70930498c51513dcb1 +SHA1 (patch-ad) = b60f161c7d9365f107d33ae9d80d8e999c893492 SHA1 (patch-zb) = 2069c60f506fcbcafdc013f0e2648b371185f20b diff --git a/editors/vim-xaw/patches/patch-aa b/editors/vim-xaw/patches/patch-aa index 914da39f71c..d3a7b7041dd 100644 --- a/editors/vim-xaw/patches/patch-aa +++ b/editors/vim-xaw/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.3 2001/06/06 06:07:31 pooka Exp $ +$NetBSD: patch-aa,v 1.4 2001/08/23 04:26:52 jlam Exp $ --- configure.orig Thu May 10 21:59:18 2001 +++ configure Wed Jun 6 08:36:44 2001 @@ -6,7 +6,7 @@ $NetBSD: patch-aa,v 1.3 2001/06/06 06:07:31 pooka Exp $ # Look for the header file in a standard set of common directories. # Check X11 before X11Rn because it is often a symlink to the current release. for ac_dir in \ -+ ${X11BASE}/include \ ++ ${BUILDLINK_X11_DIR}/include \ /usr/X11/include \ /usr/X11R6/include \ /usr/X11R5/include \ @@ -14,7 +14,7 @@ $NetBSD: patch-aa,v 1.3 2001/06/06 06:07:31 pooka Exp $ # First see if replacing the include by lib works. # Check X11 before X11Rn because it is often a symlink to the current release. for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \ -+ ${X11BASE}/lib \ ++ ${BUILDLINK_X11_DIR}/lib \ /usr/X11/lib \ /usr/X11R6/lib \ /usr/X11R5/lib \ diff --git a/editors/vim-xaw/patches/patch-ad b/editors/vim-xaw/patches/patch-ad index de2866e728b..d65d3aa8ca2 100644 --- a/editors/vim-xaw/patches/patch-ad +++ b/editors/vim-xaw/patches/patch-ad @@ -1,4 +1,4 @@ -$NetBSD: patch-ad,v 1.3 2001/06/06 06:07:31 pooka Exp $ +$NetBSD: patch-ad,v 1.4 2001/08/23 04:26:53 jlam Exp $ --- Makefile.orig Thu May 31 16:03:57 2001 +++ Makefile Wed Jun 6 08:38:04 2001 @@ -32,7 +32,7 @@ $NetBSD: patch-ad,v 1.3 2001/06/06 06:07:31 pooka Exp $ ATHENA_IPATH = -I$(GUI_INC_LOC) ATHENA_LIBS_DIR = -L$(GUI_LIB_LOC) -ATHENA_LIBS1 = $(XAW_LIB) -+ATHENA_LIBS1 = -l$(XAW_LIB) ++ATHENA_LIBS1 = ${LIBXAW} ATHENA_LIBS2 = -lXt ATHENA_TARGETS = $(BINDIR)/$(GVIMTARGET) \ $(BINDIR)/$(GVIEWTARGET) \ |