Revision
145297
Author
mcalhoun@macports.org
Date
2016-01-30 20:44:38 -0800 (Sat, 30 Jan 2016)

Log Message

sml-mode.el: allow any MacPorts emacs to build elc files (fixes #38740)

Modified Paths

Diff

Modified: trunk/dports/lang/sml-mode.el/Portfile (145296 => 145297)


--- trunk/dports/lang/sml-mode.el/Portfile	2016-01-31 04:40:30 UTC (rev 145296)
+++ trunk/dports/lang/sml-mode.el/Portfile	2016-01-31 04:44:38 UTC (rev 145297)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup          elisp 1.0
 
 name               sml-mode.el
 version            4.1
@@ -21,12 +22,12 @@
 
 supported_archs    noarch
 
-depends_lib        port:emacs
+depends_lib-append path:${emacs_binary}:${emacs_binary_provider}
 
 patchfiles         patch-sml-compat.el.diff
 
 use_configure      no
-build.target       elcfiles
+build.target       elcfiles EMACS=${emacs_binary}
 destroot.target    install_elc install_el prefix=${destroot}${prefix}
 
 variant docs description {Install extra documentation} {