diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2003-02-18 04:51:34 +0000 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2003-02-18 04:51:34 +0000 |
commit | 38805e871a0ec7d383e76a6cb1d979ba6c291d56 (patch) | |
tree | 662a776fedc3c397b783a0430a4b7be199a8e394 /x11-toolkits/qt23 | |
parent | Upgrade to 4.29.10 (diff) |
Remove the renaming of Xft headers and library from the Xft (Xft2) port.
Remove installing of Xft1 from XFree86-4-libraries, and add dependencies
to the Xft port by all the ports that use it along with whatever patches are
necessary.
Approved by: portmgr (kris), marcus
Notes
Notes:
svn path=/head/; revision=75774
Diffstat (limited to 'x11-toolkits/qt23')
-rw-r--r-- | x11-toolkits/qt23/Makefile | 6 | ||||
-rw-r--r-- | x11-toolkits/qt23/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | x11-toolkits/qt23/files/patch-configure | 11 | ||||
-rw-r--r-- | x11-toolkits/qt23/files/patch-qpsprinter.cpp | 11 |
4 files changed, 37 insertions, 2 deletions
diff --git a/x11-toolkits/qt23/Makefile b/x11-toolkits/qt23/Makefile index 41f9f95c107e..95d66200f10f 100644 --- a/x11-toolkits/qt23/Makefile +++ b/x11-toolkits/qt23/Makefile @@ -18,7 +18,8 @@ MAINTAINER?= kde@FreeBSD.org LIB_DEPENDS= mng.1:${PORTSDIR}/graphics/libmng \ png.5:${PORTSDIR}/graphics/png \ - jpeg.9:${PORTSDIR}/graphics/jpeg + jpeg.9:${PORTSDIR}/graphics/jpeg \ + Xft.2:${PORTSDIR}/x11-fonts/Xft WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_MESA= yes @@ -29,7 +30,8 @@ HAS_CONFIGURE= yes # JUST BECAUSE -xft IS NOT LISTED BELOW DOESN'T MEAN IT'S NOT THERE! CONFIGURE_ARGS= -system-zlib -system-libpng -system-jpeg -sm -gif \ -system-libmng -thread -no-opengl -no-g++-exceptions \ - -I${LOCALBASE}/include -L${LOCALBASE}/lib + -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 \ + -L${LOCALBASE}/lib .if defined(QT_DEBUG) CONFIGURE_ARGS+= -debug diff --git a/x11-toolkits/qt23/files/patch-Makefile.in b/x11-toolkits/qt23/files/patch-Makefile.in new file mode 100644 index 000000000000..632a62088d2f --- /dev/null +++ b/x11-toolkits/qt23/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig Wed Jun 13 01:57:02 2001 ++++ src/Makefile.in Sun Feb 9 23:31:39 2003 +@@ -8,7 +8,7 @@ + CFLAGS = $(SYSCONF_CFLAGS) $(SYSCONF_CFLAGS_LIB) $(QT_CFLAGS_OPT) + INCPATH = + LFLAGS = $(SYSCONF_LFLAGS_OPENGL) $(SYSCONF_LFLAGS_X11) $(SYSCONF_RPATH_X11) $(SYSCONF_LFLAGS) $(QT_LFLAGS_MT) +-LIBS = $(SUBLIBS) $(SYSCONF_LIBS_OPENGL) $(SYSCONF_LIBS_X11) $(SYSCONF_LIBS_QTLIB) ++LIBS = $(SUBLIBS) $(SYSCONF_LIBS_OPENGL) $(SYSCONF_LIBS_X11) $(SYSCONF_LIBS_QTLIB) `pkg-config xft --libs` + MOC = $(SYSCONF_MOC) + UIC = $(SYSCONF_UIC) + diff --git a/x11-toolkits/qt23/files/patch-configure b/x11-toolkits/qt23/files/patch-configure new file mode 100644 index 000000000000..40db4b2ee613 --- /dev/null +++ b/x11-toolkits/qt23/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Wed Jun 13 01:57:02 2001 ++++ configure Mon Feb 17 18:54:28 2003 +@@ -1209,7 +1209,7 @@ + fi + + [ "x$SM" = "xyes" ] && QT_LIBS="${QT_LIBS} -lSM -lICE" +-[ "x$XFT" = "xyes" ] && QT_LIBS="${QT_LIBS} -lXft" ++[ "x$XFT" = "xyes" ] && QT_LIBS="${QT_LIBS} `pkg-config xft --libs`" + if [ -z "$EMB" -o "$SHARED" = no ] + then + [ "x$LIBPNG" = "xyes" ] && QT_MODOBJ=$QT_MODOBJ' $(PNG_OBJECTS)' diff --git a/x11-toolkits/qt23/files/patch-qpsprinter.cpp b/x11-toolkits/qt23/files/patch-qpsprinter.cpp new file mode 100644 index 000000000000..21b9fdf561a6 --- /dev/null +++ b/x11-toolkits/qt23/files/patch-qpsprinter.cpp @@ -0,0 +1,11 @@ +--- src/kernel/qpsprinter.cpp.orig Wed Jun 13 01:53:46 2001 ++++ src/kernel/qpsprinter.cpp Sun Feb 9 22:48:14 2003 +@@ -2772,7 +2772,7 @@ + + + #ifndef _OS_OSF_ +-extern "C" char* getenv(char*); ++extern "C" char* getenv(const char*); + #endif + + QPSPrinterFontTTF::QPSPrinterFontTTF(const QFont &f, QByteArray& d) |