summaryrefslogtreecommitdiff
path: root/lang/oo2c
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-11-25 12:51:16 +0000
committerjperkin <jperkin@pkgsrc.org>2015-11-25 12:51:16 +0000
commitdd4daa110ef0b5850e1a974fe64e000db65c3e6a (patch)
treee339f459af067df609a92f5f7abb15e63c95cd6e /lang/oo2c
parentce0a8db11cb3371e3f19784cfdf2fba5015c7e60 (diff)
downloadpkgsrc-dd4daa110ef0b5850e1a974fe64e000db65c3e6a.tar.gz
Remove mk/find-prefix.mk usage from the lang category.
The find-prefix infrastructure was required in a pkgviews world where packages installed from pkgsrc could have different installation prefixes, and this was a way for a dependency prefix to be determined. Now that pkgviews has been removed there is no longer any need for the overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the dependency is coming from pkgsrc. Provides a reasonable performance win due to the reduction of `pkg_info -qp` calls, some of which were redundant anyway as they were duplicating the same information provided by BUILDLINK_PREFIX.pkg.
Diffstat (limited to 'lang/oo2c')
-rw-r--r--lang/oo2c/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/lang/oo2c/Makefile b/lang/oo2c/Makefile
index 69733a64d5c..d7f9fb9c760 100644
--- a/lang/oo2c/Makefile
+++ b/lang/oo2c/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2015/06/12 10:50:16 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2015/11/25 12:51:17 jperkin Exp $
DISTNAME= oo2c_${BITS}-2.0.11
PKGNAME= oo2c-2.0.11
@@ -25,9 +25,6 @@ GNU_CONFIGURE= yes
USE_TOOLS+= gmake perl:run
USE_LIBTOOL= yes
-EVAL_PREFIX+= LIBTOOL_PREFIX=libtool-base
-LIBTOOL_PREFIX_DEFAULT= ${LOCALBASE}
-
TEST_TARGET= test
INSTALLATION_DIRS= share/doc/html share/emacs/site-lisp
@@ -42,7 +39,7 @@ SUBST_SED.destdir+= -e 's,>${PREFIX}/bin<,>${DESTDIR}${PREFIX}/bin<,g'
SUBST_CLASSES+= pkg-unwrap
SUBST_STAGE.pkg-unwrap= post-install
SUBST_FILES.pkg-unwrap= ${DESTDIR}${PREFIX}/lib/oo2c/oo2crc.xml
-SUBST_SED.pkg-unwrap= -e 's,${WRAPPER_DIR},${LIBTOOL_PREFIX},g'
+SUBST_SED.pkg-unwrap= -e 's,${WRAPPER_DIR},${LOCALBASE},g'
post-install:
${LN} -sf ${PREFIX}/lib/oo2c/oocdoc/html ${DESTDIR}${PREFIX}/share/doc/html/oo2c