pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/freetype2 Backout last change. It breaks the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d8d46285f6d8
branches:  trunk
changeset: 541674:d8d46285f6d8
user:      tron <tron%pkgsrc.org@localhost>
date:      Thu Apr 24 11:18:13 2008 +0000

description:
Backout last change. It breaks the build on system which use a builtin
"freetype2" and provide a "freetype2.pc" (e.g. Mac OS X Leopard or
any uptodate Linux distribution).

diffstat:

 graphics/freetype2/builtin.mk |  31 +------------------------------
 1 files changed, 1 insertions(+), 30 deletions(-)

diffs (45 lines):

diff -r 0293082fa62e -r d8d46285f6d8 graphics/freetype2/builtin.mk
--- a/graphics/freetype2/builtin.mk     Thu Apr 24 10:24:04 2008 +0000
+++ b/graphics/freetype2/builtin.mk     Thu Apr 24 11:18:13 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.10 2008/04/24 01:11:15 jnemeth Exp $
+# $NetBSD: builtin.mk,v 1.11 2008/04/24 11:18:13 tron Exp $
 
 BUILTIN_PKG:=  freetype2
 
@@ -81,35 +81,6 @@
 BUILDLINK_PREFIX.freetype2=    ${X11BASE}
 .    include "../../mk/x11.buildlink3.mk"
 .    include "../../mk/x11.builtin.mk"
-
-.    if !empty(USE_TOOLS:C/:.*//:Mpkg-config)
-do-configure-pre-hook: override-freetype2-pkgconfig
-
-BLKDIR_PKGCFG= ${BUILDLINK_DIR}/lib/pkgconfig
-FREETYPE2_PKGCFGF=     freetype2.pc
-
-override-freetype2-pkgconfig: override-message-freetype2-pkgconfig
-override-message-freetype2-pkgconfig:
-       @${STEP_MSG} "Installing freetype2.pc."
-
-override-freetype2-pkgconfig:
-       ${_PKG_SILENT}${_PKG_DEBUG}set -e;              \
-       ${MKDIR} ${BLKDIR_PKGCFG};                      \
-       {                                               \
-       ${ECHO} "prefix=${X11BASE}";                            \
-       ${ECHO} "exec_prefix=\$${prefix}";              \
-       ${ECHO} "libdir=\$${exec_prefix}/lib";          \
-       ${ECHO} "includedir=\$${prefix}/include";       \
-       ${ECHO} "";                                     \
-       ${ECHO} "Name: Freetype 2";                             \
-       ${ECHO} "Description: A free, high-quality, and portable font engine."; \
-       ${ECHO} "Version: ${BUILTIN_VERSION.freetype2}";                \
-       ${ECHO} "Libs: -Wl,-R\$${libdir} -L\$${libdir} -lfreetype -lz"; \
-       ${ECHO} "Cflags: -I\$${includedir}/freetype2 -I\$${includedir}"; \
-       } >> ${BLKDIR_PKGCFG}/${FREETYPE2_PKGCFGF};
-
-.    endif # pkg-config
-
 .  endif
 
 .endif # CHECK_BUILTIN.freetype2



Home | Main Index | Thread Index | Old Index