Date: Tue, 28 Jan 2014 20:16:01 +0000 (UTC) From: David Thiel <lx@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341652 - in head/textproc/luaexpat: . files Message-ID: <201401282016.s0SKG13t054034@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lx Date: Tue Jan 28 20:16:01 2014 New Revision: 341652 URL: http://svnweb.freebsd.org/changeset/ports/341652 QAT: https://qat.redports.org/buildarchive/r341652/ Log: Fix build and STAGEify. PR: ports/185899 Submitted by: ashish@ Modified: head/textproc/luaexpat/Makefile head/textproc/luaexpat/files/patch-makefile Modified: head/textproc/luaexpat/Makefile ============================================================================== --- head/textproc/luaexpat/Makefile Tue Jan 28 20:05:49 2014 (r341651) +++ head/textproc/luaexpat/Makefile Tue Jan 28 20:16:01 2014 (r341652) @@ -13,6 +13,7 @@ COMMENT= LuaExpat is a SAX XML parser ba LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 +USES= gmake MAKEFILE= makefile ALL_TARGET= lib USE_LUA= 5.0-5.1 @@ -21,7 +22,6 @@ WANT_LUA_VER= 5.1 CFLAGS+= -fPIC -NO_STAGE= yes .include <bsd.port.pre.mk> .if ${LUA_VER} == 5.0 Modified: head/textproc/luaexpat/files/patch-makefile ============================================================================== --- head/textproc/luaexpat/files/patch-makefile Tue Jan 28 20:05:49 2014 (r341651) +++ head/textproc/luaexpat/files/patch-makefile Tue Jan 28 20:16:01 2014 (r341652) @@ -1,6 +1,9 @@ ---- makefile.orig 2009-06-25 06:07:16.000000000 +0000 -+++ makefile 2009-06-25 06:23:06.000000000 +0000 -@@ -4,15 +4,11 @@ + +$FreeBSD$ + +--- makefile.orig ++++ makefile +@@ -4,10 +4,6 @@ include $(CONFIG) @@ -11,9 +14,20 @@ OBJS= src/lxplib.o $(COMPAT_O) lib: src/$(LIBNAME) - src/$(LIBNAME) : $(OBJS) -- export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) -o src/$(LIBNAME) $(LIB_OPTION) $(OBJS) -lexpat -+ export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) -o src/$(LIBNAME) $(LIB_OPTION) lxplib.o $(COMPAT_O) -lexpat - - $(COMPAT_DIR)/compat-5.1.o: $(COMPAT_DIR)/compat-5.1.c +@@ -18,11 +14,11 @@ $(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c + + install: +- mkdir -p $(LUA_LIBDIR) +- cp src/$(LIBNAME) $(LUA_LIBDIR) +- cd $(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so +- mkdir -p $(LUA_DIR)/$T +- cp src/$T/lom.lua $(LUA_DIR)/$T ++ mkdir -p $(DESTDIR)$(LUA_LIBDIR) ++ cp src/$(LIBNAME) $(DESTDIR)$(LUA_LIBDIR) ++ cd $(DESTDIR)$(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so ++ mkdir -p $(DESTDIR)$(LUA_DIR)/$T ++ cp src/$T/lom.lua $(DESTDIR)$(LUA_DIR)/$T + + clean: + rm -f src/$(LIBNAME) $(OBJS)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401282016.s0SKG13t054034>