summaryrefslogtreecommitdiff
path: root/x11/lesstif
diff options
context:
space:
mode:
authorwiz <wiz>2000-02-12 03:54:51 +0000
committerwiz <wiz>2000-02-12 03:54:51 +0000
commitec0a4dbc8125031c0d9788629d13360f305507e5 (patch)
treed9cf89c30280e4c03057c86855d66597b26f4faf /x11/lesstif
parent9fc91afc483d0482ccbe92ba501d3cf62b236905 (diff)
downloadpkgsrc-ec0a4dbc8125031c0d9788629d13360f305507e5.tar.gz
install ac_find_motif.m4 and link it to ${LOCALBASE}/share/aclocal
Diffstat (limited to 'x11/lesstif')
-rw-r--r--x11/lesstif/Makefile8
-rw-r--r--x11/lesstif/files/patch-sum3
-rw-r--r--x11/lesstif/patches/patch-au17
-rw-r--r--x11/lesstif/pkg/PLIST6
4 files changed, 31 insertions, 3 deletions
diff --git a/x11/lesstif/Makefile b/x11/lesstif/Makefile
index 67dd71b60db..497b3b63841 100644
--- a/x11/lesstif/Makefile
+++ b/x11/lesstif/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2000/02/01 18:52:34 tron Exp $
+# $NetBSD: Makefile,v 1.46 2000/02/12 03:54:51 wiz Exp $
# FreeBSD Id: Makefile,v 1.13 1997/09/08 08:34:13 tg Exp
#
@@ -23,5 +23,11 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-build-12 # needed for www/Mosaic
CONFIGURE_ARGS+= --enable-build-20 --enable-default-20 \
--enable-production --disable-debug
+PLIST_SUBST+= LOCALBASE=${LOCALBASE}
+
+post-install:
+ ${TEST} ${PREFIX} = ${LOCALBASE} || \
+ ${LN} -fs ${PREFIX}/share/aclocal/ac_find_motif.m4 \
+ ${LOCALBASE}/share/aclocal/ac_find_motif.m4
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/lesstif/files/patch-sum b/x11/lesstif/files/patch-sum
index f88b9fc31bf..1184c4bcff5 100644
--- a/x11/lesstif/files/patch-sum
+++ b/x11/lesstif/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.8 2000/02/01 00:38:16 wiz Exp $
+$NetBSD: patch-sum,v 1.9 2000/02/12 03:54:53 wiz Exp $
MD5 (patch-aa) = 3593361ccb064c68b0509825f5b955d8
MD5 (patch-ab) = c03a06a1287b3a5106214f82880433df
@@ -19,3 +19,4 @@ MD5 (patch-aq) = 3f06d77175cc6b1cf8f2a92cca2570fc
MD5 (patch-ar) = dc98df83eda988ff572c1bce0a18a6ad
MD5 (patch-as) = 188bfc2d04a8da1c14ecdc2ed71ef8f9
MD5 (patch-at) = 5d1942f2d96052a61417c9753dff2989
+MD5 (patch-au) = 8f5b68f889c867d22dc095993bdfc946
diff --git a/x11/lesstif/patches/patch-au b/x11/lesstif/patches/patch-au
new file mode 100644
index 00000000000..cca7af3bcd9
--- /dev/null
+++ b/x11/lesstif/patches/patch-au
@@ -0,0 +1,17 @@
+$NetBSD: patch-au,v 1.1 2000/02/12 03:54:53 wiz Exp $
+
+--- scripts/autoconf/Makefile.in.orig Fri Jan 14 23:42:38 2000
++++ scripts/autoconf/Makefile.in Sat Feb 12 04:01:20 2000
+@@ -121,10 +121,9 @@
+
+ EXTRA_DIST = ac_find_motif.m4
+
+-aclocaldir = @ACLOCALDIR@
++aclocaldir = ${prefix}/share/aclocal
+
+-@Aclocal_TRUE@aclocal_DATA = \
+-@Aclocal_TRUE@ac_find_motif.m4
++aclocal_DATA = ac_find_motif.m4
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../../include/LTconfig.h
+ CONFIG_CLEAN_FILES =
diff --git a/x11/lesstif/pkg/PLIST b/x11/lesstif/pkg/PLIST
index 48316fcd3c0..b4619855fc7 100644
--- a/x11/lesstif/pkg/PLIST
+++ b/x11/lesstif/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.21 2000/01/31 20:45:45 drochner Exp $
+@comment $NetBSD: PLIST,v 1.22 2000/02/12 03:54:53 wiz Exp $
LessTif/FAQ
LessTif/Motif1.2/include/Mrm/MrmAppl.h
LessTif/Motif1.2/include/Mrm/MrmDecls.h
@@ -365,6 +365,7 @@ man/man3/XmToggleButtonGadget.3
man/man3/XmVendorShell.3
man/man3/XmWorld.3
man/man5/mwmrc.5
+share/aclocal/ac_find_motif.m4
share/doc/lesstif/AUTHORS
share/doc/lesstif/Advocacy.html
share/doc/lesstif/All.html
@@ -423,3 +424,6 @@ share/doc/lesstif/images/ltsunlogo.jpg
share/doc/lesstif/images/ltsunlogo.png
@dirrm share/doc/lesstif/images
@dirrm share/doc/lesstif
+@exec test %D = ${LOCALBASE} || ln -fs %D/share/aclocal/ac_find_motif.m4 ${LOCALBASE}/share/aclocal/ac_find_motif.m4
+@unexec test %D = ${LOCALBASE} || rm ${LOCALBASE}/share/aclocal/ac_find_motif.m4
+@unexec rmdir %D/share/aclocal 2>/dev/null || true