freebsd-ports/devel/allegro/files/patch-misc::deplib.sh
Edwin Groothuis f89a6b4594 devel/allegro: updating to 4.1.4 (devel version).
This PR updates allegro to the last 4.1.4, fixes allegro-config,
	and adds samples.

PR:		ports/45344
Submitted by:	Thierry Thomas <thierry@pompo.net>
2003-03-30 03:04:33 +00:00

21 lines
802 B
Bash

--- misc/deplib.sh.orig Wed Oct 23 08:08:27 2002
+++ misc/deplib.sh Sun Nov 10 00:40:21 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,-h,lib${1}.so.\$(shared_major_minor) \$(LIBS)"
+ echo " \$(CC) -shared -o \$@ ${shareobj} \$(LDFLAGS) -Wl,-h,lib${1}.so.\$(shared_version) \$(LIBS)"
echo ""
echo "\$(LIBDIR)/${unsharelib}: ${unshareobj}"
echo " rm -f \$@"