aboutsummaryrefslogtreecommitdiffstats
path: root/math/pspp
diff options
context:
space:
mode:
authorsylvio <sylvio@FreeBSD.org>2010-04-22 00:17:39 +0800
committersylvio <sylvio@FreeBSD.org>2010-04-22 00:17:39 +0800
commit156e85374d9eb075d393ec1ff793a80dbee8bd5e (patch)
tree93e2cf61e643c0257097de0d40221555aae2d1ad /math/pspp
parent287deda698f4ed05ed5210069cfcf4f3ae52726f (diff)
downloadfreebsd-ports-gnome-156e85374d9eb075d393ec1ff793a80dbee8bd5e.tar.gz
freebsd-ports-gnome-156e85374d9eb075d393ec1ff793a80dbee8bd5e.tar.zst
freebsd-ports-gnome-156e85374d9eb075d393ec1ff793a80dbee8bd5e.zip
- Fix build in 9-current arch amd64
- Mark BROKEN only in 9-current arch i386 - BUMP PORTREVISION Reported by: erwin@ Approved by: itetcu (mentor, implicit)
Diffstat (limited to 'math/pspp')
-rw-r--r--math/pspp/Makefile7
-rw-r--r--math/pspp/files/patch-configure15
2 files changed, 18 insertions, 4 deletions
diff --git a/math/pspp/Makefile b/math/pspp/Makefile
index 77060dde3236..d0172fc6ff66 100644
--- a/math/pspp/Makefile
+++ b/math/pspp/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pspp
PORTVERSION= 0.6.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= math
MASTER_SITES= GNU
@@ -35,8 +35,8 @@ LDFLAGS= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 900010
-BROKEN= does not configure
+.if ${OSVERSION} >= 900010 && ${ARCH} == "i386"
+BROKEN= does not build
.endif
.if defined(WITHOUT_NLS)
@@ -67,7 +67,6 @@ CONFIGURE_ARGS+= --without-libpq
post-patch:
@${REINPLACE_CMD} -e '/^install-exec-am:/s|install-exec-local||' \
${WRKSRC}/gl/Makefile.in
-
post-install:
@${TOUCH} ${PREFIX}/lib/pspp/.keep_me
diff --git a/math/pspp/files/patch-configure b/math/pspp/files/patch-configure
new file mode 100644
index 000000000000..01361fa91ce5
--- /dev/null
+++ b/math/pspp/files/patch-configure
@@ -0,0 +1,15 @@
+--- configure.orig 2010-04-19 10:48:13.000000000 -0300
++++ configure 2010-04-19 10:49:58.000000000 -0300
+@@ -13167,11 +13167,9 @@
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pspp_cv_build_exeext" >&5
+ $as_echo "$pspp_cv_build_exeext" >&6; }
+ EXEEXT_FOR_BUILD=""
+- test x"${pspp_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${pspp_cv_build_exeex
+-t}
++ test x"${pspp_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${pspp_cv_build_exeext}
+ fi
+
+-
+ # Extract the first word of "perl", so it can be a program name with args.
+ set dummy perl; ac_word=$2
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5