diff options
author | flz <flz@FreeBSD.org> | 2009-07-17 20:33:54 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2009-07-17 20:33:54 +0800 |
commit | 3829be661772ea1ac0f4bb5c8f6dc66ecca8f070 (patch) | |
tree | 153ad6acc234ecb040ad2a4adba4eb42951ec844 /lang | |
parent | 26f440faf61b1c844479633a106111a4071c762a (diff) | |
download | freebsd-ports-gnome-3829be661772ea1ac0f4bb5c8f6dc66ecca8f070.tar.gz freebsd-ports-gnome-3829be661772ea1ac0f4bb5c8f6dc66ecca8f070.tar.zst freebsd-ports-gnome-3829be661772ea1ac0f4bb5c8f6dc66ecca8f070.zip |
Remove -D_GNU_SOURCE from CPPFLAGS as it causes segfault in strerror_r.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/mono/Makefile | 1 | ||||
-rw-r--r-- | lang/mono/files/patch-configure | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lang/mono/Makefile b/lang/mono/Makefile index 2243404f14f9..ba848ca90a12 100644 --- a/lang/mono/Makefile +++ b/lang/mono/Makefile @@ -8,6 +8,7 @@ PORTNAME= mono PORTVERSION= 2.4.2.2 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://ftp.novell.com/pub/mono/sources/${PORTNAME}/ diff --git a/lang/mono/files/patch-configure b/lang/mono/files/patch-configure index e42140ea6b36..09f4ec87bbfb 100644 --- a/lang/mono/files/patch-configure +++ b/lang/mono/files/patch-configure @@ -8,7 +8,7 @@ $FreeBSD$ libmono_ldflags="$PTHREAD_LIBS" fi - CPPFLAGS="$CPPFLAGS -DPLATFORM_BSD" -+ CPPFLAGS="$CPPFLAGS -DPLATFORM_BSD -DPLATFORM_BSD6 -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP" ++ CPPFLAGS="$CPPFLAGS -DPLATFORM_BSD -DPLATFORM_BSD6 -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP" + libmono_cflags="$libmono_cflags -D_REENTRANT" need_link_unlink=yes |