Summary: | [PATCH] Fix building of textproc/luaexpat | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Ashish SHUKLA <ashish> | ||||
Component: | Individual Port(s) | Assignee: | David Thiel <lx> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | lx | ||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Ashish SHUKLA
2014-01-20 00:20:00 UTC
Responsible Changed From-To: freebsd-ports-bugs->lx Over to maintainer (via the GNATS Auto Assign Tool) 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) _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Committed, thanks! |