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

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

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

CVSweb <webmaster@jp.NetBSD.org>