diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-03-10 03:28:10 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-03-10 03:28:10 +0800 |
commit | 38c30f64736bdef12d115be25dd55b876fcd835f (patch) | |
tree | 5df5ce819cc671d7a9f0e910b691fcbcb1d9eab1 /devel/glib20/Makefile | |
parent | b6fcf4b2966edecfe262ee1787d178cdb94d43e2 (diff) | |
download | marcuscom-ports-38c30f64736bdef12d115be25dd55b876fcd835f.tar marcuscom-ports-38c30f64736bdef12d115be25dd55b876fcd835f.tar.gz marcuscom-ports-38c30f64736bdef12d115be25dd55b876fcd835f.tar.bz2 marcuscom-ports-38c30f64736bdef12d115be25dd55b876fcd835f.tar.lz marcuscom-ports-38c30f64736bdef12d115be25dd55b876fcd835f.tar.xz marcuscom-ports-38c30f64736bdef12d115be25dd55b876fcd835f.tar.zst marcuscom-ports-38c30f64736bdef12d115be25dd55b876fcd835f.zip |
Fix the thread stacksize for 64-bit platforms, but only adjust the stacksize
on FreeBSD versions that need it.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3905 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/glib20/Makefile')
-rw-r--r-- | devel/glib20/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile index 783fc928a..a6d5ad9a0 100644 --- a/devel/glib20/Makefile +++ b/devel/glib20/Makefile @@ -7,6 +7,7 @@ PORTNAME= glib PORTVERSION= 2.6.3 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/${PORTNAME}/2.6,} \ ftp://ftp.gtk.org/pub/gtk/v2.6/ \ @@ -38,9 +39,15 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PTHREAD_LIBS="${PTHREAD_LIBS}" +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 600012 +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-gthread_gthread-posix.c +.endif + post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \ s|%%X11BASE%%|${X11BASE}|g' \ ${WRKSRC}/glib/gutils.c -.include <bsd.port.mk> +.include <bsd.port.post.mk> |