aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-07-27 07:40:50 +0800
committermarino <marino@FreeBSD.org>2014-07-27 07:40:50 +0800
commit8542ab961ba7aee0fa5d585bbcde5ceb402d3b24 (patch)
tree2b3c13b559ec00aba4a5ebe46a7ace5cda721f32 /x11-toolkits
parentfadf78de2c14b9adfd031acd7d0a072010fa8d2a (diff)
downloadfreebsd-ports-gnome-8542ab961ba7aee0fa5d585bbcde5ceb402d3b24.tar.gz
freebsd-ports-gnome-8542ab961ba7aee0fa5d585bbcde5ceb402d3b24.tar.zst
freebsd-ports-gnome-8542ab961ba7aee0fa5d585bbcde5ceb402d3b24.zip
x11-toolkits/blt: install libBLTstubs.a too
PR: 190646 Submitted by: darius (dons.net.au)
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/blt/Makefile2
-rw-r--r--x11-toolkits/blt/files/patch-generic_Makefile.in32
-rw-r--r--x11-toolkits/blt/pkg-plist2
3 files changed, 31 insertions, 5 deletions
diff --git a/x11-toolkits/blt/Makefile b/x11-toolkits/blt/Makefile
index f66fdef6599b..92ebb98d8c5c 100644
--- a/x11-toolkits/blt/Makefile
+++ b/x11-toolkits/blt/Makefile
@@ -3,7 +3,7 @@
PORTNAME= blt
PORTVERSION= 2.5.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-toolkits tk
MASTER_SITES= SF/wize
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
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
+
diff --git a/x11-toolkits/blt/pkg-plist b/x11-toolkits/blt/pkg-plist
index 3f4ad57f288f..8f780c592687 100644
--- a/x11-toolkits/blt/pkg-plist
+++ b/x11-toolkits/blt/pkg-plist
@@ -4,6 +4,8 @@ lib/libBLTlite%%BLTSHORTVER%%.so
lib/libBLT.a
lib/libBLTlite.a
lib/libBLTlite%%BLTSHORTVER%%.a
+lib/libBLTstub.a
+lib/libBLTstub%%BLTSHORTVER%%.a
bin/bltwish%%BLTSHORTVER%%
bin/bltsh%%BLTSHORTVER%%
bin/bltwish