aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/e17-modules
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/e17-modules
parente5472657dd2b7c5f76ecb3d34e7a8a542b8385f1 (diff)
downloadfreebsd-ports-gnome-0f84ee644f96209e6b9979ac7ed309d2eb8bd5ba.tar.gz
freebsd-ports-gnome-0f84ee644f96209e6b9979ac7ed309d2eb8bd5ba.tar.zst
freebsd-ports-gnome-0f84ee644f96209e6b9979ac7ed309d2eb8bd5ba.zip
- Fix build.
Reported by: QAT
Diffstat (limited to 'x11-wm/e17-modules')
-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 4bf47293630d..da4f1845f27c 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