pkgsrc-Bugs archive

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

Re: pkg/48919



The following reply was made to PR pkg/48919; it has been noted by GNATS.

From: Philip Miller <sighoya%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost, David Sainty <dave%dtsp.co.nz@localhost>
Cc: 
Subject: Re: pkg/48919
Date: Thu, 03 Jul 2014 19:25:59 +0200

 On 07/03/2014 07:00 AM, David Sainty wrote:
 > cat work/freetype-2.5.3/builds/unix/freetype2.pc
 With bmake clean before:
 
 prefix="/home/sighoya/pkg"
 exec_prefix="/home/sighoya/pkg"
 libdir="/home/sighoya/pkg/lib"
 includedir="/home/sighoya/pkg/include/freetype2"
 
 Name: FreeType 2
 URL: http://freetype.org
 Description: A free, high-quality, and portable font engine.
 Version: 17.2.11
 Requires:
 Requires.private: zlib
 Libs: -Wl,-R${libdir} -L${libdir} -lfreetype
 Libs.private: -lbz2
 Cflags: -I${includedir}
 > ... after building with a Makefile containing:
 # $NetBSD: Makefile,v 1.95 2014/03/15 01:43:05 obache Exp $
 
 DISTNAME=       freetype-2.5.3
 PKGNAME=        ${DISTNAME:S/-/2-/}
 PKGREVISION=    1
 CATEGORIES=     graphics
 MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE:=freetype/} \
                  http://download.savannah.gnu.org/releases/freetype/
 EXTRACT_SUFX=   .tar.bz2
 
 MAINTAINER=     pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=       http://www.freetype.org/
 COMMENT=        Font rendering engine and library API
 LICENSE=        gnu-gpl-v2
 
 PKG_INSTALLATION_TYPES= overwrite pkgviews
 
 USE_LIBTOOL=            yes
 CONFIGURE_ARGS+= --with-harfbuzz=no
 USE_TOOLS+=  pkg-config
 USE_TOOLS+=             grep gmake
 GNU_CONFIGURE=          yes
 CONFIGURE_DIRS=         builds/unix
 BUILD_DIRS=             .
 CONFIGURE_ARGS+=        --includedir=${PREFIX}/include
 CONFIGURE_ARGS+=        --enable-shared
 CONFIGURE_ENV+=         ac_cv_path_GREP=${GREP:Q} 
 ac_cv_path_EGREP=${EGREP:Q}
 
 .if exists(/System/Library/Frameworks/Carbon.framework)
 LDFLAGS+=       -framework Carbon
 .endif
 
 PKGCONFIG_OVERRIDE=     builds/unix/freetype2.in
 
 .include "../../mk/bsd.prefs.mk"
 .include "../../mk/compiler.mk"
 
 .include "options.mk"
 
 # source code breaks strict aliasing in gcc>=2.95
 .if !empty(CC_VERSION:Mgcc-[3-9]*) || !empty(CC_VERSION:Mgcc-2.95*)
 CFLAGS+=        -fno-strict-aliasing
 .endif
 
 # tell configure not to use unix-specific version of ftsystem.c on OpenBSD
 .if ${OPSYS} == "OpenBSD"
 CONFIGURE_ENV+=         ac_cv_func_mmap_fixed_mapped=no
 .endif
 
 .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
 CONFIGURE_ENV+=         CC_BUILD=${NATIVE_CC:Q}
 .endif
 
 post-configure:
          cd ${WRKSRC} && ${LN} -s builds/unix/unix.mk config.mk
 .if ${OPSYS} == "IRIX"
          ${MKDIR} ${WRKSRC}/.libs
 .endif
 
 .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
 


Home | Main Index | Thread Index | Old Index