From a2b99a879248c861867f8b96a6740ff02ecdf304 Mon Sep 17 00:00:00 2001
From: recht <recht@pkgsrc.org>
Date: Sun, 28 Mar 2004 20:54:49 +0000
Subject: Install the libraries into QTLIBDIR and symlink to PYSITELIB to make
 libtool happy.

---
 x11/py-qt3-modules/Makefile | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

(limited to 'x11')

diff --git a/x11/py-qt3-modules/Makefile b/x11/py-qt3-modules/Makefile
index 38126bbf1bf..07578571823 100644
--- a/x11/py-qt3-modules/Makefile
+++ b/x11/py-qt3-modules/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/01/24 15:30:33 grant Exp $
+# $NetBSD: Makefile,v 1.7 2004/03/28 20:54:49 recht Exp $
 #
 
 DISTNAME=		PyQt-x11-gpl-3.8
@@ -14,6 +14,7 @@ USE_BUILDLINK2=		yes
 USE_X11=		yes
 USE_LIBTOOL=		yes
 USE_GNU_TOOLS+=		make
+USE_LANGUAGES=		c c++
 
 CONFIGURE_ARGS=		-q ${QTDIR} -m ${GMAKE} -p ${SIPBIN}
 
@@ -37,14 +38,14 @@ do-install:
 		(cd ${WRKSRC}/$${f} && ( \
 			${INSTALL_DATA} $${f}.py ${PREFIX}/${PYSITELIB}; \
 			${LIBTOOL} --mode=install ${INSTALL_DATA} \
-				lib$${f}cmodule.la ${PREFIX}/${PYSITELIB} \
+				lib$${f}cmodule.la ${PREFIX}/${QTLIBDIR} \
 			) \
 		); \
 	 done)
 	(for f in ${PYQTMODULES}; do \
-		(cd ${PREFIX}/${PYSITELIB}; for i in lib$${f}cmodule.*; do \
-			${LN} -sf ${PREFIX}/${PYSITELIB}/$$i \
-				${PREFIX}/${QTLIBDIR}/$$i; done \
+		(cd ${PREFIX}/${QTLIBDIR}; for i in lib$${f}cmodule.*; do \
+			${LN} -sf ${PREFIX}/${QTLIBDIR}/$$i \
+				${PREFIX}/${PYSITELIB}/$$i; done \
 		); \
 	done)
 
-- 
cgit v1.2.3