diff options
author | pat <pat@FreeBSD.org> | 2002-01-17 14:22:50 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-01-17 14:22:50 +0800 |
commit | 2236dec5657454e4749ab6f39a4a23ed465985ac (patch) | |
tree | a1cbf9663ee4dd3d6f5924ba158affd56a9641f7 | |
parent | 455bcdde97ee9ef8d48257a1cc026640682979a3 (diff) | |
download | freebsd-ports-gnome-2236dec5657454e4749ab6f39a4a23ed465985ac.tar.gz freebsd-ports-gnome-2236dec5657454e4749ab6f39a4a23ed465985ac.tar.zst freebsd-ports-gnome-2236dec5657454e4749ab6f39a4a23ed465985ac.zip |
Fix bento build
PR: 33746
Submitted by: Oliver Lehmann <lehmann@ans-netz.de>
-rw-r--r-- | graphics/giram/Makefile | 2 | ||||
-rw-r--r-- | graphics/giram/files/patch-configure | 31 |
2 files changed, 32 insertions, 1 deletions
diff --git a/graphics/giram/Makefile b/graphics/giram/Makefile index c95f1bc1c025..64ddeb302b50 100644 --- a/graphics/giram/Makefile +++ b/graphics/giram/Makefile @@ -35,7 +35,7 @@ CONFIGURE_ARGS+=--disable-gnome .endif pre-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure diff --git a/graphics/giram/files/patch-configure b/graphics/giram/files/patch-configure new file mode 100644 index 000000000000..327fc6f8f04c --- /dev/null +++ b/graphics/giram/files/patch-configure @@ -0,0 +1,31 @@ +--- configure.orig Thu Jan 17 01:15:12 2002 ++++ configure Thu Jan 17 01:17:15 2002 +@@ -4152,7 +4152,6 @@ + # + have_pthread=no + mesa_requires_pthread=no +- if test "$ac_have_mesa_gl" = yes; then + echo $ac_n "checking for pthread_create in -pthread""... $ac_c" 1>&6 + echo "configure:4158: checking for pthread_create in -pthread" >&5 + ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'` +@@ -4240,12 +4239,7 @@ + LIBS="$ac_save_LIBS" + + fi +-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then +- echo "$ac_t""yes" 1>&6 + mesa_requires_pthread=yes +-else +- echo "$ac_t""no" 1>&6 +-fi + + CPPFLAGS="$ac_save_CPPFLAGS" + LDFLAGS="$ac_save_LDFLAGS" +@@ -4253,7 +4247,6 @@ + if test "$mesa_requires_pthread" = yes; then + GL_LIBS="$GL_LIBS -pthread" + fi +- fi + # Check for OpenGL 1.1 features. + # + |