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

Annotation of pkgsrc/devel/glib2/Makefile, Revision 1.47

1.47    ! xtraeme     1: # $NetBSD: Makefile,v 1.46 2004/04/06 07:15:53 jmmv Exp $
1.1       dmcmahil    2:
1.45      jmmv        3: DISTNAME=              glib-2.4.0
1.39      jmmv        4: PKGNAME=               ${DISTNAME:S/glib/glib2/}
1.46      jmmv        5: PKGREVISION=           1
1.1       dmcmahil    6: CATEGORIES=            devel
1.45      jmmv        7: MASTER_SITES=          ftp://ftp.gtk.org/pub/gtk/v2.4/ \
                      8:                        ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.4/ \
                      9:                        ${MASTER_SITE_GNOME:=sources/glib/2.4/}
1.15      grant      10: EXTRACT_SUFX=          .tar.bz2
1.1       dmcmahil   11:
1.33      xtraeme    12: MAINTAINER=            xtraeme@NetBSD.org
1.1       dmcmahil   13: HOMEPAGE=              http://www.gtk.org/docs/glib_toc.html
                     14: COMMENT=               Some useful routines for C programming
                     15:
                     16: BUILD_USES_MSGFMT=     yes
1.39      jmmv       17:
1.35      xtraeme    18: USE_BUILDLINK3=                yes
1.14      salo       19: USE_PKGLOCALEDIR=      yes
1.34      grant      20: USE_GNU_TOOLS+=                make
1.8       jlam       21: USE_PERL5=             yes
1.40      jlam       22: USE_LIBTOOL=           yes
1.43      jlam       23: TEST_TARGET=           check
1.8       jlam       24:
1.41      jmmv       25: PKGCONFIG_OVERRIDE=    glib-2.0.pc.in
                     26: PKGCONFIG_OVERRIDE+=   gmodule-2.0.pc.in
                     27: PKGCONFIG_OVERRIDE+=   gobject-2.0.pc.in
                     28: PKGCONFIG_OVERRIDE+=   gthread-2.0.pc.in
1.8       jlam       29:
1.13      grant      30: GNU_CONFIGURE=         # defined
1.14      salo       31: CONFIGURE_ENV+=                PKGLOCALEDIR=${PKGLOCALEDIR}
1.17      jmmv       32: CONFIGURE_ARGS+=       --enable-gtk-doc=no
1.1       dmcmahil   33: CONFIGURE_ARGS+=       --includedir=${PREFIX}/include/glib
1.17      jmmv       34: CONFIGURE_ARGS+=       --with-html-dir=${PREFIX}/share/doc/html
1.43      jlam       35: CONFIGURE_ARGS+=       ${CONFIGURE_ARGS.${ICONV_TYPE}-iconv}
1.32      dmcmahil   36:
1.43      jlam       37: CONFIGURE_ARGS.gnu-iconv=      --with-libiconv=gnu
1.36      jmmv       38:
1.44      snj        39: # Avoid an ICE in gcc2 on sparc64
                     40: CONFIGURE_ENV+=                F77=${FALSE}
                     41:
1.47    ! xtraeme    42: .include "../../mk/bsd.prefs.mk"
        !            43:
        !            44: # FreeBSD fix for libgthread:
        !            45: # Be sure libgthread is linked to the threaded library (libc_r), otherwise
        !            46: # -pthread is added and this won't work with libraries, only executable
        !            47: # binaries.
        !            48:
        !            49: .if ${OPSYS} == "FreeBSD"
        !            50:
        !            51: SUBST_CLASSES=         thr
        !            52: SUBST_STAGE.thr=       post-patch
        !            53: SUBST_FILES.thr=       gthread/Makefile.in
        !            54: SUBST_SED.thr=         -e "s|@G_THREAD_LIBS_FOR_GTHREAD@|-Wc,-lc_r|g"
        !            55: SUBST_MESSAGE.thr=     "Fixing libgthread."
        !            56:
        !            57: .endif
        !            58:
1.35      xtraeme    59: .include "../../converters/libiconv/buildlink3.mk"
                     60: .include "../../devel/gettext-lib/buildlink3.mk"
                     61: .include "../../devel/pkgconfig/buildlink3.mk"
                     62: .include "../../mk/pthread.buildlink3.mk"
1.5       jlam       63:
1.1       dmcmahil   64: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>