aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2010-12-15 05:04:13 +0800
committerstas <stas@FreeBSD.org>2010-12-15 05:04:13 +0800
commit0f84ee644f96209e6b9979ac7ed309d2eb8bd5ba (patch)
tree26d405ba4bb2ff99f82e0156014ed84bfa73fd94 /x11-wm
parente5472657dd2b7c5f76ecb3d34e7a8a542b8385f1 (diff)
downloadfreebsd-ports-graphics-0f84ee644f96209e6b9979ac7ed309d2eb8bd5ba.tar.gz
freebsd-ports-graphics-0f84ee644f96209e6b9979ac7ed309d2eb8bd5ba.tar.zst
freebsd-ports-graphics-0f84ee644f96209e6b9979ac7ed309d2eb8bd5ba.zip
- Fix build.
Reported by: QAT
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/e17-modules/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/x11-wm/e17-modules/Makefile b/x11-wm/e17-modules/Makefile
index 4bf47293630..da4f1845f27 100644
--- a/x11-wm/e17-modules/Makefile
+++ b/x11-wm/e17-modules/Makefile
@@ -44,12 +44,11 @@ OPTIONS+= off
.include <bsd.port.options.mk>
.for M in ${MODULES}
-MODULEOPT= ${M:U:S,-,_,g}
-. if !defined(${MODULEOPT}_PATH)
-${MODULEOPT}_PATH= ${M}
+. if !defined(${M:U:S,-,_,g}_PATH)
+${M:U:S,-,_,g}_PATH= ${M}
. endif
-. if defined(WITH_${MODULEOPT})
-RUN_DEPENDS+= ${LOCALBASE}/lib/enlightenment/modules/${{MODULEOPT}_PATH}/${E17_ARCH}/module.so:${PORTSDIR}/x11-wm/e17-module-${M}
+. if defined(WITH_${M:U:S,-,_,g})
+RUN_DEPENDS+= ${LOCALBASE}/lib/enlightenment/modules/${${M:U:S,-,_,g}_PATH}/${E17_ARCH}/module.so:${PORTSDIR}/x11-wm/e17-module-${M}
. endif
.endfor