move the post-patch to pre-configure since it is somewhat configure-like

in nature.  This makes sure we get the correct libtool which fixes a
problem where the installed .la files have references to ${WRKSRC} left
in them.  Fix suggested by Johnny Lam.  Bump PKGREVISION.
This commit is contained in:
dmcmahill 2005-06-20 22:03:42 +00:00
parent ab6733f9ca
commit 17f64f8251
2 changed files with 4 additions and 3 deletions

View file

@ -1,10 +1,11 @@
# $NetBSD: Makefile,v 1.33 2005/04/18 13:22:17 wiz Exp $
# $NetBSD: Makefile,v 1.34 2005/06/20 22:03:42 dmcmahill Exp $
LIBQT= ${WRKSRC}/lib/libqt-mt.la
.include "../qt3-libs/Makefile.common"
PKGNAME= qt3-libs-${QTVERSION}
PKGREVISION= 1
MAINTAINER= adam@NetBSD.org
COMMENT= C++ X GUI toolkit

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.50 2005/06/01 19:30:29 wiz Exp $
# $NetBSD: Makefile.common,v 1.51 2005/06/20 22:03:42 dmcmahill Exp $
#
DISTNAME= qt-x11-free-${QTVERSION}
CATEGORIES= x11
@ -92,7 +92,7 @@ CXXFLAGS+= -DQ_INLINE_TEMPLATES=inline
.include "../../mk/x11.buildlink3.mk"
post-patch:
pre-configure:
${SED} \
-e 's:@LOCALBASE@:${LOCALBASE}:g' \
-e 's:@X11BASE@:${X11BASE}:g' \