summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2010-12-14 21:04:13 +0000
committerStanislav Sedov <stas@FreeBSD.org>2010-12-14 21:04:13 +0000
commit9b32b30bcfae3af6e02811cef6506ae4f5d3351b (patch)
treec6704bc08062e84bb3c4975c4637382160339f4e /x11-wm
parent$CFLAGS are redundant for compiling .s files. (diff)
- Fix build.
Reported by: QAT
Notes
Notes: svn path=/head/; revision=266304
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 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