FreeBSD Bugzilla – Attachment 139618 Details for
Bug 185899
[PATCH] Fix building of textproc/luaexpat
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.70 KB, created by
Ashish SHUKLA
on 2014-01-20 00:20:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Ashish SHUKLA
Created:
2014-01-20 00:20:00 UTC
Size:
1.70 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 340358) >+++ Makefile (working copy) >@@ -13,6 +13,7 @@ > > LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 > >+USES= gmake > MAKEFILE= makefile > ALL_TARGET= lib > USE_LUA= 5.0-5.1 >@@ -21,7 +22,6 @@ > > CFLAGS+= -fPIC > >-NO_STAGE= yes > .include <bsd.port.pre.mk> > > .if ${LUA_VER} == 5.0 >Index: files/patch-makefile >=================================================================== >--- files/patch-makefile (revision 340358) >+++ files/patch-makefile (working copy) >@@ -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 >+@@ -18,11 +14,11 @@ >+ $(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c > >- $(COMPAT_DIR)/compat-5.1.o: $(COMPAT_DIR)/compat-5.1.c >- $(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)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 185899
: 139618