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

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

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

CVSweb <webmaster@jp.NetBSD.org>