pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/25753 (make qt3-libs pkgview ready.)



Hi,

I now need the following patch to qt3-libs/Makefile rev. 1.57 to make the
port work with pkgviews. (I'm still using pkgviews because I'm not sure
what it's been replaced by and I need to be able to run several versions of
packages alongside each other).

cu Jo


RCS file: /pub/NetBSD-CVS/pkgsrc/x11/qt3-libs/Makefile,v
retrieving revision 1.57
diff -u -p -r1.57 Makefile
--- Makefile    23 Oct 2006 14:54:11 -0000      1.57
+++ Makefile    26 Nov 2006 23:09:53 -0000
@@ -6,6 +6,10 @@ COMMENT=       C++ X GUI toolkit
 
 LIBQT=                         ${WRKSRC}/lib/libqt-mt.la
 
+# set this before bsd.prefs.mk which sets PKG_INSTALLATION_TYPE to
+# the wrong value.
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
 .include "../../mk/bsd.prefs.mk"
 # XXX: hack - work round an ICE with GCC 3.3 on sparc
 .if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "sparc"
@@ -44,6 +48,7 @@ do-install:
        ${INSTALL_LIB_DIR} ${QTPREFIX}/plugins/imageformats
        ${LIBTOOL} ${INSTALL_LIB} ${WRKSRC}/plugins/imageformats/libqjpeg.la 
${QTPREFIX}/plugins/imageformats/
        ${LIBTOOL} ${INSTALL_LIB} ${WRKSRC}/plugins/imageformats/libqmng.la 
${QTPREFIX}/plugins/imageformats/
+       ${INSTALL_LIB_DIR} ${PREFIX}/lib/pkgconfig/
        ${INSTALL_DATA} ${WRKSRC}/lib/qt-mt.pc ${PREFIX}/lib/pkgconfig/
 
 .if ${OPSYS} == "Darwin" && empty(MACHINE_PLATFORM:MDarwin-[567].*)



Home | Main Index | Thread Index | Old Index