svn commit: r336471 - head/sysutils/slurm-hpc

William Grzybowski wg at FreeBSD.org
Sat Dec 14 19:01:34 UTC 2013


Author: wg
Date: Sat Dec 14 19:01:33 2013
New Revision: 336471
URL: http://svnweb.freebsd.org/changeset/ports/336471

Log:
  sysutils/slurm-hpc: fix the usage of python
  
  Reported by:	exp-run (PR 184591)
  Approved by:	portmgr (blanket)

Modified:
  head/sysutils/slurm-hpc/Makefile

Modified: head/sysutils/slurm-hpc/Makefile
==============================================================================
--- head/sysutils/slurm-hpc/Makefile	Sat Dec 14 18:39:20 2013	(r336470)
+++ head/sysutils/slurm-hpc/Makefile	Sat Dec 14 19:01:33 2013	(r336471)
@@ -78,11 +78,17 @@ CONFIGURE_ARGS+=--with-pg_config=/nopost
 # preinstalled on 9.1-RELEASE.  Worked fine on second try.
 USE_GNOME=	glib20 gtk20	# sview
 PLIST_FILES+=	bin/sview
-.else
-# Can't disable configure test, so make it fail
+.endif
+
 post-patch:
+# Can't disable configure test, so make it fail
+.if ! ${PORT_OPTIONS:MGTK2}
 	${REINPLACE_CMD} -e 's|min_gtk_version=2.7.1|min_gtk_version=200.7.1|' \
 		${WRKSRC}/configure
 .endif
+	@${REINPLACE_CMD} \
+		-e 's|/usr/bin/env python|${PYTHON_CMD}|g' \
+		${WRKSRC}/doc/html/shtml2html.py \
+		${WRKSRC}/doc/man/man2html.py
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list