aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-07-20 13:09:45 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-07-20 13:09:45 +0000
commit151a71f91c2f8a3aa9c46b4d75881fda5a7d5232 (patch)
tree5ac88aa154e2316c83457fb0598a1ab133f13fdd /graphics
parentb4037355fc31b05bc61dd3d20f3fbcc953e94f7e (diff)
downloadports-151a71f91c2f8a3aa9c46b4d75881fda5a7d5232.tar.gz
ports-151a71f91c2f8a3aa9c46b4d75881fda5a7d5232.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/giram/Makefile4
-rw-r--r--graphics/giram/files/patch-configure10
2 files changed, 6 insertions, 8 deletions
diff --git a/graphics/giram/Makefile b/graphics/giram/Makefile
index 8f544ab7c72b..b4e6c1e74035 100644
--- a/graphics/giram/Makefile
+++ b/graphics/giram/Makefile
@@ -16,8 +16,6 @@ COMMENT= Giram is Really A Modeller
RUN_DEPENDS= povray:${PORTSDIR}/graphics/povray31
-BROKEN= "Fails to patch"
-
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_REINPLACE= yes
@@ -39,7 +37,7 @@ PKGNAMESUFFIX= -gnome
CONFIGURE_ARGS+=--disable-gnome
.endif
-pre-patch:
+post-patch:
@${REINPLACE_CMD} -e \
's|-lpthread|${PTHREAD_LIBS:S/"//g}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
diff --git a/graphics/giram/files/patch-configure b/graphics/giram/files/patch-configure
index 327fc6f8f04c..4b9ea7718e11 100644
--- a/graphics/giram/files/patch-configure
+++ b/graphics/giram/files/patch-configure
@@ -1,12 +1,12 @@
---- configure.orig Thu Jan 17 01:15:12 2002
-+++ configure Thu Jan 17 01:17:15 2002
+--- configure.orig Sun Jul 20 17:02:58 2003
++++ configure Sun Jul 20 17:03:44 2003
@@ -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
+ echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
+ echo "configure:4158: checking for pthread_create in -lpthread" >&5
ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
@@ -4240,12 +4239,7 @@
LIBS="$ac_save_LIBS"
@@ -23,7 +23,7 @@
LDFLAGS="$ac_save_LDFLAGS"
@@ -4253,7 +4247,6 @@
if test "$mesa_requires_pthread" = yes; then
- GL_LIBS="$GL_LIBS -pthread"
+ GL_LIBS="$GL_LIBS -lpthread"
fi
- fi
# Check for OpenGL 1.1 features.