aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2009-04-24 18:26:05 +0800
committermaho <maho@FreeBSD.org>2009-04-24 18:26:05 +0800
commitc7ea819f310adb74110ace487a193d3583cfc360 (patch)
treedbbbaeadc45ab8d2d7f2ad8b5589966c9fdc9af5 /science
parent533b4c63294b50004d00b4e7d7f77902dc1914a9 (diff)
downloadfreebsd-ports-gnome-c7ea819f310adb74110ace487a193d3583cfc360.tar.gz
freebsd-ports-gnome-c7ea819f310adb74110ace487a193d3583cfc360.tar.zst
freebsd-ports-gnome-c7ea819f310adb74110ace487a193d3583cfc360.zip
Fix build with NOPORTDOCS, NOPORTEXAMPLES.
Submitted by: QAT
Diffstat (limited to 'science')
-rw-r--r--science/abinit/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/science/abinit/Makefile b/science/abinit/Makefile
index fde4f646a1b5..3a6022cb1786 100644
--- a/science/abinit/Makefile
+++ b/science/abinit/Makefile
@@ -56,10 +56,10 @@ LAPACK= -llapack
pre-configure:
.if defined(NOPORTDOCS)
- ${REINPLACE_CMD} -e '/^SUBDIRS =/s| doc||' ${WRKSRC}/Makefile.in
+ ${REINPLACE_CMD} -e '/^abinit_top_subdirs =/s| doc||' ${WRKSRC}/config/specs/other.cf
.endif
.if defined(NOPORTEXAMPLES)
- ${REINPLACE_CMD} -e '/^SUBDIRS =/s| tests||' ${WRKSRC}/Makefile.in
+ ${REINPLACE_CMD} -e '/^abinit_top_subdirs =/s| tests||' ${WRKSRC}/config/specs/other.cf
.endif
(cd ${WRKSRC} && ./config/scripts/makemake)
${CHMOD} a+x ${WRKSRC}/bindings/parser/*.py