Subject: Re: pkg/28323
To: None <gnats-bugs@NetBSD.org>
From: =?ISO-8859-1?Q?C=E9sar_Catri=E1n?= C. <ccatrian@eml.cc>
List: tech-pkg
Date: 11/18/2004 13:13:42
can aclocal's acdir be pointed to ${VIEWBASE}/share/aclocal ? (devel/automake)
I don't know if there is another issue with this package that prevent it to be converted to pkgviews.
Thanks
--- Makefile.orig 2004-11-18 13:00:02.000000000 -0300
+++ Makefile 2004-11-18 13:01:06.000000000 -0300
@@ -13,7 +13,7 @@
DEPENDS= autoconf>=2.58:../../devel/autoconf
-#PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_INSTALLATION_TYPES= overwrite pkgviews
PLIST_SUBST+= PKG_DIR_VERSION=1.9
USE_BUILDLINK3= YES
@@ -27,6 +27,12 @@
PERL5_REQD+= 5.5
+SUBST_CLASSES+= aclocal
+SUBST_MESSAGE.aclocal= "Pointing aclocal to the default view"
+SUBST_FILES.aclocal= aclocal
+SUBST_SED.aclocal= -e 's|${PREFIX}|${VIEWBASE}|'
+SUBST_STAGE.aclocal= post-build
+
# doesn't work because buildlink3 hides scripts
# from autoconf too well
#TEST_TARGET= check