sysutils/slurm-hpc: fix the usage of python
Reported by: exp-run (PR 184591) Approved by: portmgr (blanket)
This commit is contained in:
parent
4f9158aa44
commit
7370f53f3b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336471
@ -78,11 +78,17 @@ CONFIGURE_ARGS+=--with-pg_config=/nopostgres
|
||||
# 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>
|
||||
|
Loading…
Reference in New Issue
Block a user