aboutsummaryrefslogtreecommitdiff
path: root/math/pspp
diff options
context:
space:
mode:
authorSylvio Cesar Teixeira <sylvio@FreeBSD.org>2010-04-21 16:17:39 +0000
committerSylvio Cesar Teixeira <sylvio@FreeBSD.org>2010-04-21 16:17:39 +0000
commit2b8c7242f8a8f74321de15ff94cce14c08019bd8 (patch)
treede706d6ce6d7c2e959990b4b1f57d32e0144a65b /math/pspp
parent1dea7e166f6a6b2b80f49cf789de846280e6b481 (diff)
downloadports-2b8c7242f8a8f74321de15ff94cce14c08019bd8.tar.gz
ports-2b8c7242f8a8f74321de15ff94cce14c08019bd8.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)
Notes
Notes: svn path=/head/; revision=253015
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