aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/blt/files
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-07-26 23:40:50 +0000
committerJohn Marino <marino@FreeBSD.org>2014-07-26 23:40:50 +0000
commit8437c8ae4e3b15446915d40546ff332765755f26 (patch)
tree2b3c13b559ec00aba4a5ebe46a7ace5cda721f32 /x11-toolkits/blt/files
parent6cbff030cb1b6c5a3d6e665ab7746fc8b8a36b89 (diff)
downloadports-8437c8ae4e3b15446915d40546ff332765755f26.tar.gz
ports-8437c8ae4e3b15446915d40546ff332765755f26.zip
Notes
Diffstat (limited to 'x11-toolkits/blt/files')
-rw-r--r--x11-toolkits/blt/files/patch-generic_Makefile.in32
1 files changed, 28 insertions, 4 deletions
diff --git a/x11-toolkits/blt/files/patch-generic_Makefile.in b/x11-toolkits/blt/files/patch-generic_Makefile.in
index 0277dcbbe5a6..bc5a096b55c3 100644
--- a/x11-toolkits/blt/files/patch-generic_Makefile.in
+++ b/x11-toolkits/blt/files/patch-generic_Makefile.in
@@ -1,10 +1,21 @@
---- generic/Makefile.in.orig 2010-12-11 00:39:42.000000000 +0100
-+++ generic/Makefile.in 2013-11-20 09:13:25.000000000 +0100
-@@ -216,10 +216,10 @@
+--- generic/Makefile.in.orig 2010-12-11 10:09:42.000000000 +1030
++++ generic/Makefile.in 2014-05-06 06:41:23.000000000 +0930
+@@ -161,6 +161,8 @@
+ libvers_a = libBLT$(version).a
+ tcl_only_lib_a = libBLTlite.a
+ tcl_only_libvers_a = libBLTlite$(version).a
++stub_a = libBLTstub.a
++stub_libvers_a = libBLTstub$(version).a
+
+ CC_SWITCHES = $(EXTRA_CFLAGS) $(CFLAGS) $(DEFINES) $(INCLUDES)
+ INSTALL = @INSTALL@
+@@ -215,13 +217,15 @@
+ $(INSTALL) -m 0755 $(bltwish) $(INSTALL_ROOT)$(bindir)
$(INSTALL) -m 0755 $(bltsh) $(INSTALL_ROOT)$(bindir)
- install-lib: $(lib_a) $(tcl_only_lib_a)
+-install-lib: $(lib_a) $(tcl_only_lib_a)
- $(INSTALL_DATA) $(lib_a) $(INSTALL_ROOT)$(libdir)/$(libvers_a)
++install-lib: $(lib_a) $(tcl_only_lib_a) $(stub_a)
+ $(INSTALL_DATA) -m 0644 $(lib_a) $(INSTALL_ROOT)$(libdir)/$(libvers_a)
(cd $(INSTALL_ROOT)$(libdir); $(RM) $(lib_a) ; $(LN_S) $(libvers_a) $(lib_a))
$(RANLIB) $(INSTALL_ROOT)$(libdir)/$(libvers_a)
@@ -12,4 +23,17 @@
+ $(INSTALL_DATA) -m 0644 $(tcl_only_lib_a) $(INSTALL_ROOT)$(libdir)/$(tcl_only_libvers_a)
(cd $(INSTALL_ROOT)$(libdir); $(RM) $(tcl_only_lib_a) ; $(LN_S) $(tcl_only_libvers_a) $(tcl_only_lib_a))
$(RANLIB) $(INSTALL_ROOT)$(libdir)/$(tcl_only_libvers_a)
++ $(INSTALL_DATA) -m 0644 $(stub_a) $(INSTALL_ROOT)$(libdir)/$(stub_libvers_a)
++ (cd $(INSTALL_ROOT)$(libdir); $(RM) $(stub_a) ; $(LN_S) $(stub_libvers_a) $(stub_a))
(cd shared; $(MAKE) install)
+
+ mkdirs:
+@@ -244,7 +248,7 @@
+ $(LINT) $(LINTFLAGS) $(DEFINES) $(INCLUDES) $(SRCS)
+
+ libBLTstub.a:
+- $(CC) -I$(srcdir) @INCLUDES@ -c $(srcdir)/bltStubLib.c
++ $(CC) -fPIC -I$(srcdir) @INCLUDES@ -c $(srcdir)/bltStubLib.c
+ $(AR) libBLTstub.a bltStubLib.o
+ $(RANLIB) libBLTstub.a
+