[153358] trunk/dports/devel/lua-luaexpat

devans at macports.org devans at macports.org
Thu Sep 29 06:05:48 PDT 2016


Revision: 153358
          https://trac.macports.org/changeset/153358
Author:   devans at macports.org
Date:     2016-09-29 06:05:48 -0700 (Thu, 29 Sep 2016)
Log Message:
-----------
lua-luaexpat: fix build on case sensitive systems.

Modified Paths:
--------------
    trunk/dports/devel/lua-luaexpat/Portfile

Added Paths:
-----------
    trunk/dports/devel/lua-luaexpat/files/patch-makefile.diff

Removed Paths:
-------------
    trunk/dports/devel/lua-luaexpat/files/patch-Makefile.diff

Modified: trunk/dports/devel/lua-luaexpat/Portfile
===================================================================
--- trunk/dports/devel/lua-luaexpat/Portfile	2016-09-29 08:17:14 UTC (rev 153357)
+++ trunk/dports/devel/lua-luaexpat/Portfile	2016-09-29 13:05:48 UTC (rev 153358)
@@ -20,23 +20,26 @@
 depends_lib         port:lua \
                     port:expat
 
+patchfiles          patch-makefile.diff
+
 use_configure       no
 
 set lua_version     5.3
 
 build.target
-build.args          CC=${configure.cc} \
+build.args          -f makefile \
+                    CC=${configure.cc} \
                     CFLAGS="${configure.cppflags} ${configure.cflags} [get_canonical_archflags cc]" \
                     LDFLAGS="${configure.ldflags} [get_canonical_archflags ld] -llua" \
                     LUA_INC="" \
                     EXPAT_INC="" \
                     COMMON_LDFLAGS="-bundle -undefined dynamic_lookup"
 
+destroot.pre_args-prepend \
+                    -f makefile
 destroot.args       LUA_LDIR=${prefix}/share/lua/${lua_version} \
                     LUA_CDIR=${prefix}/lib/lua/${lua_version}
 
-patchfiles          patch-Makefile.diff
-
 post-destroot {
     #  install docs
     xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}

Deleted: trunk/dports/devel/lua-luaexpat/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/lua-luaexpat/files/patch-Makefile.diff	2016-09-29 08:17:14 UTC (rev 153357)
+++ trunk/dports/devel/lua-luaexpat/files/patch-Makefile.diff	2016-09-29 13:05:48 UTC (rev 153358)
@@ -1,15 +0,0 @@
---- Makefile.orig	2014-04-03 11:32:44.000000000 +0200
-+++ Makefile	2014-04-03 11:33:27.000000000 +0200
-@@ -27,8 +27,10 @@
- 	$(CC) $(CF) -o $@ src/$(T)lib.c $(LF)
- 
- install:
--	$(INSTALL_PROGRAM) -D src/$(LIBNAME) $(DESTDIR)$(LUA_CDIR)/$(LIBNAME)
--	$(INSTALL_PROGRAM) -D src/$T/lom.lua $(DESTDIR)$(LUA_LDIR)/$T/lom.lua
-+	$(INSTALL_PROGRAM) -d $(DESTDIR)$(LUA_CDIR)/
-+	$(INSTALL_PROGRAM) -d $(DESTDIR)$(LUA_LDIR)/$T
-+	$(INSTALL_DATA) src/$(LIBNAME) $(DESTDIR)$(LUA_CDIR)/$(LIBNAME)
-+	$(INSTALL_DATA) src/$T/lom.lua $(DESTDIR)$(LUA_LDIR)/$T/lom.lua
- 
- clean:
- 	$(RM) src/$(LIBNAME) $(OBJS)

Copied: trunk/dports/devel/lua-luaexpat/files/patch-makefile.diff (from rev 153357, trunk/dports/devel/lua-luaexpat/files/patch-Makefile.diff)
===================================================================
--- trunk/dports/devel/lua-luaexpat/files/patch-makefile.diff	                        (rev 0)
+++ trunk/dports/devel/lua-luaexpat/files/patch-makefile.diff	2016-09-29 13:05:48 UTC (rev 153358)
@@ -0,0 +1,15 @@
+--- makefile.orig	2014-04-03 11:32:44.000000000 +0200
++++ makefile	2014-04-03 11:33:27.000000000 +0200
+@@ -27,8 +27,10 @@
+ 	$(CC) $(CF) -o $@ src/$(T)lib.c $(LF)
+ 
+ install:
+-	$(INSTALL_PROGRAM) -D src/$(LIBNAME) $(DESTDIR)$(LUA_CDIR)/$(LIBNAME)
+-	$(INSTALL_PROGRAM) -D src/$T/lom.lua $(DESTDIR)$(LUA_LDIR)/$T/lom.lua
++	$(INSTALL_PROGRAM) -d $(DESTDIR)$(LUA_CDIR)/
++	$(INSTALL_PROGRAM) -d $(DESTDIR)$(LUA_LDIR)/$T
++	$(INSTALL_DATA) src/$(LIBNAME) $(DESTDIR)$(LUA_CDIR)/$(LIBNAME)
++	$(INSTALL_DATA) src/$T/lom.lua $(DESTDIR)$(LUA_LDIR)/$T/lom.lua
+ 
+ clean:
+ 	$(RM) src/$(LIBNAME) $(OBJS)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160929/4b48a1e9/attachment.html>


More information about the macports-changes mailing list