aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/qt31/files
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1998-07-21 00:51:18 +0800
committerandreas <andreas@FreeBSD.org>1998-07-21 00:51:18 +0800
commit821d88565bc757f6c05b7ae96fff6b2df9d7ac07 (patch)
treed546908b2863710f9c0d66b8b2457af758919b83 /x11-toolkits/qt31/files
parent45240fda51ddddfb4241a4b8c6c44418f0e88779 (diff)
downloadfreebsd-ports-gnome-821d88565bc757f6c05b7ae96fff6b2df9d7ac07.tar.gz
freebsd-ports-gnome-821d88565bc757f6c05b7ae96fff6b2df9d7ac07.tar.zst
freebsd-ports-gnome-821d88565bc757f6c05b7ae96fff6b2df9d7ac07.zip
- Upgrade libqt to newest version 1.40 after repository copy.
- The Makefile templates for all bsd's were broken, I fixed this for one installation target and already sent the patch to the qt folks.
Diffstat (limited to 'x11-toolkits/qt31/files')
-rw-r--r--x11-toolkits/qt31/files/patch-aa33
1 files changed, 33 insertions, 0 deletions
diff --git a/x11-toolkits/qt31/files/patch-aa b/x11-toolkits/qt31/files/patch-aa
new file mode 100644
index 000000000000..41d6ae4c62b0
--- /dev/null
+++ b/x11-toolkits/qt31/files/patch-aa
@@ -0,0 +1,33 @@
+--- configs/freebsd-g++-shared.orig Thu Jul 9 21:24:33 1998
++++ configs/freebsd-g++-shared Sun Jul 19 13:31:29 1998
+@@ -39,7 +39,14 @@
+ #
+ SYSCONF_LINK_SHLIB = ld
+ SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(VER_MAJ).$(VER_MIN)
+-SYSCONF_LINK_LIB_SHARED = $(LINK) -Bshareable $(LFLAGS) -o $(TARGETD) `lorder /usr/lib/c++rt0.o $(OBJECTS) $(OBJMOC) | tsort` $(LIBS)
++SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) -Bshareable \
++ $(LFLAGS) -o $(SYSCONF_LINK_TARGET_SHARED) \
++ `lorder /usr/lib/c++rt0.o $(OBJECTS) $(OBJMOC) | tsort` $(LIBS); \
++ mv $(SYSCONF_LINK_TARGET_SHARED) $(DESTDIR); \
++ cd $(DESTDIR); \
++ rm -f lib$(TARGET).so lib$(TARGET).so.$(VER_MAJ); \
++ ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so; \
++ ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so.$(VER_MAJ)
+
+ # Linking static libraries
+ # - Build the $(TARGET) library, eg. lib$(TARGET).a
+@@ -50,11 +57,11 @@
+ SYSCONF_LINK_LIB_STATIC = rm -f $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC); \
+ $(SYSCONF_AR) $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS) $(OBJMOC)
+ # Compiling application source
+-SYSCONF_CFLAGS = -O2 -fno-strength-reduce
++SYSCONF_CFLAGS = -pipe -O2 -fno-strength-reduce
+ # Compiling library source
+-SYSCONF_CFLAGS_LIB = -O2 -fno-strength-reduce -fPIC
++SYSCONF_CFLAGS_LIB = -pipe -O2 -fno-strength-reduce -fPIC
+ # Compiling shared-object source
+-SYSCONF_CFLAGS_SHOBJ = -O2 -fno-strength-reduce -fPIC
++SYSCONF_CFLAGS_SHOBJ = -pipe -O2 -fno-strength-reduce -fPIC
+ # Default link type (stati linking is still be used where required)
+ SYSCONF_LINK_LIB = $(SYSCONF_LINK_LIB_SHARED)
+ SYSCONF_LINK_TARGET = $(SYSCONF_LINK_TARGET_SHARED)