[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / glib2

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/devel/glib2/Makefile between version 1.2 and 1.234

version 1.2, 2002/03/30 19:58:09 version 1.234, 2017/07/03 18:47:29
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  
   
 DISTNAME=               glib-2.0.1  .include "Makefile.common"
 PKGNAME=                ${DISTNAME:S/glib/glib2/}  
 CATEGORIES=             devel  CATEGORIES=             devel gnome
 MASTER_SITES=           ftp://ftp.gtk.org/pub/gtk/v2.0/ \  
                         ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.0/ \  COMMENT=                Some useful routines for C programming (glib2)
                         http://www.ameth.org/gimp/pub/gtk/v2.0/ \  
                         ${MASTER_SITE_GNOME:=stable/sources/glib/}  USE_TOOLS+=             msgfmt perl:run readlink
   
 MAINTAINER=             packages@netbsd.org  PKGCONFIG_OVERRIDE+=    glib-2.0.pc.in
 HOMEPAGE=               http://www.gtk.org/docs/glib_toc.html  PKGCONFIG_OVERRIDE+=    gmodule-2.0.pc.in
 COMMENT=                Some useful routines for C programming  PKGCONFIG_OVERRIDE+=    gmodule-export-2.0.pc.in
   PKGCONFIG_OVERRIDE+=    gmodule-no-export-2.0.pc.in
 BUILD_USES_MSGFMT=      yes  PKGCONFIG_OVERRIDE+=    gobject-2.0.pc.in
 GNU_CONFIGURE=          yes  PKGCONFIG_OVERRIDE+=    gthread-2.0.pc.in
 USE_BUILDLINK_ONLY=     yes  PKGCONFIG_OVERRIDE+=    gio-2.0.pc.in
 USE_GMAKE=              yes  PKGCONFIG_OVERRIDE+=    gio-unix-2.0.pc.in
 USE_LIBTOOL=            yes  PKGCONFIG_OVERRIDE+=    gio-windows-2.0.pc.in
 LIBTOOL_OVERRIDE=       ${WRKSRC}/libtool  
 USE_PERL5=              yes  FILES_SUBST+=           GIO_MODULES_DIR=${PREFIX}/lib/gio/modules
 CONFIGURE_ARGS+=        --includedir=${PREFIX}/include/glib  FILES_SUBST+=           GIO_QUERYMODULES=${PREFIX}/bin/gio-querymodules
 CPPFLAGS+=              -I${BUILDLINK_DIR}/PTL/include  FILES_SUBST+=           GLIB_COMPILE_SCHEMAS=${PREFIX}/bin/glib-compile-schemas
 MAKE_ENV+=              PKGLOCALEDIR="${PKGLOCALEDIR}"  FILES_SUBST+=           GLIB_SCHEMAS_DIR=${PREFIX}/share/glib-2.0/schemas
   
 # GLib needs a working pre-emptive pthreads implementation  # gtester is the glib unit testing and reporting framework
 USE_PTHREAD=    native ptl2  # agc doesn't want glib2 to depend on python so we install it
   # in a broken and useless state.
 test: build  CHECK_INTERPRETER_SKIP+=        bin/gtester-report
         cd ${WRKSRC} &&  ${MAKE_ENV} ${MAKE_PROGRAM} check 2>&1 | \  CHECK_WRKREF_SKIP+=             bin/gtester-report
                 tee ${WRKDIR}/check.log  
   # need pcre utf8 + unicode-properties
 .include "../../converters/libiconv/buildlink.mk"  BUILDLINK_API_DEPENDS.pcre+=    pcre>=8.31
 .include "../../devel/gettext-lib/buildlink.mk"  # to avoid pkg-config dependency, explicitly specify pcre location
 .include "../../devel/pkgconfig/buildlink.mk"  CONFIGURE_ARGS+=        PCRE_CFLAGS=-I${BUILDLINK_PREFIX.pcre}/include
 .include "../../mk/pthread.buildlink.mk"  CONFIGURE_ARGS+=        PCRE_LIBS="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.pcre}/lib -L${BUILDLINK_PREFIX.pcre}/lib -lpcre"
   
   # needs gz_header structure
   BUILDLINK_API_DEPENDS.zlib+=    zlib>=1.2.2.1
   
   LIBS.SunOS+=            -lnsl -lsocket
   CPPFLAGS.SunOS+=        -DBSD_COMP
   
   .if ${OBJECT_FMT} == "ELF"
   .  if ${OPSYS} == "SunOS"
   .    if empty(ABI:U:M64)
   # Solaris libelf in 32-bit mode does not support largefile.  We patch files
   # individually to force _FILE_OFFSET_BITS=32 but need to turn back on -lelf
   # after configure disabled it.
   CONFIGURE_ENV+=         LIBELF_LIBS='-lelf'
   .    endif
   .  else
   .  include "../../devel/libelf/buildlink3.mk"
   .  endif
   .endif
   
   PLIST_VARS+=    unix
   .include "../../mk/bsd.prefs.mk"
   .if ${OPSYS} != "Darwin"
   PLIST.unix=     yes
   .endif
   
   .include "../../converters/libiconv/buildlink3.mk"
   .include "../../devel/gettext-lib/buildlink3.mk"
   .include "../../devel/pcre/buildlink3.mk"
   .include "../../devel/zlib/buildlink3.mk"
   .include "../../devel/libffi/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.234

CVSweb <webmaster@jp.NetBSD.org>