aboutsummaryrefslogtreecommitdiff
path: root/devel/allegro-devel/files/patch-misc::deplib.sh
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-06 16:51:46 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-06 16:51:46 +0000
commita1562f1f9765d88e5ffc439fce4c866b8224356e (patch)
treeb21aebad4630f45415a05dd8e696cc6ea16cae8e /devel/allegro-devel/files/patch-misc::deplib.sh
parent6ef0919abb4cdb8822476bf02323a03a49b0fc51 (diff)
Notes
Diffstat (limited to 'devel/allegro-devel/files/patch-misc::deplib.sh')
-rw-r--r--devel/allegro-devel/files/patch-misc::deplib.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/allegro-devel/files/patch-misc::deplib.sh b/devel/allegro-devel/files/patch-misc::deplib.sh
new file mode 100644
index 000000000000..499f6d447aa0
--- /dev/null
+++ b/devel/allegro-devel/files/patch-misc::deplib.sh
@@ -0,0 +1,20 @@
+--- misc/deplib.sh.orig Thu Jul 4 05:18:01 2002
++++ misc/deplib.sh Tue Nov 5 22:56:54 2002
+@@ -10,7 +10,7 @@
+ staticlib="lib${1}.a"
+ staticobj="\$(${2}_OBJECTS)"
+
+- sharelib="lib${1}-\$(shared_version).so"
++ sharelib="lib${1}.so.\$(shared_version)"
+ shareobj="\$(${2}_SHARED_OBJECTS)"
+
+ unsharelib="lib${1}_unsharable.a"
+@@ -24,7 +24,7 @@
+ echo " rm -f \$@"
+ # gf: This bit is obviously gcc-specific
+ # eb: Yes, but the GNU C Compiler doesn't always spell 'gcc'
+- echo " \$(CC) -shared -o \$@ ${shareobj} \$(LDFLAGS) -Wl,-soname,lib${1}.so.\$(shared_major_minor) \$(LIBS)"
++ echo " \$(CC) -shared -o \$@ ${shareobj} \$(LDFLAGS) -Wl,-soname,lib${1}.so.\$(shared_version) \$(LIBS)"
+ echo ""
+ echo "\$(LIBDIR)/${unsharelib}: ${unshareobj}"
+ echo " rm -f \$@"