fix shared libs filenames

This commit is contained in:
brad 1999-03-16 22:59:32 +00:00
parent ad5bb1d02e
commit 61c7964f21
6 changed files with 80 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 1999/03/14 23:44:01 brad Exp $
# $OpenBSD: Makefile,v 1.11 1999/03/16 22:59:32 brad Exp $
DISTNAME= gtk+-1.2.0
CATEGORIES= x11
@ -13,7 +13,7 @@ MASTER_SITES= ftp://ftp.gimp.org/pub/gtk/v1.2/ \
BUILD_DEPENDS= gettext:${PORTSDIR}/devel/gettext
RUN_DEPENDS= gettext:${PORTSDIR}/devel/gettext
LIB_DEPENDS= glib:${PORTSDIR}/devel/glib
LIB_DEPENDS= glib\\.1\\.2:${PORTSDIR}/devel/glib
USE_X11= yes
USE_PERL5= yes

11
x11/gtk+/patches/patch-aa Normal file
View File

@ -0,0 +1,11 @@
--- gtk/Makefile.in.orig Tue Mar 16 16:25:34 1999
+++ gtk/Makefile.in Tue Mar 16 16:26:12 1999
@@ -152,7 +152,7 @@
gdk_headers = ../gdk/gdktypes.h ../gdk/gdkrgb.h
-libgtk_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) @GLIB_DEPLIBS@ @x_ldflags@ @x_libs@ -lm
+libgtk_la_LDFLAGS = -version-info 1:2:0 @GLIB_DEPLIBS@ @x_ldflags@ @x_libs@ -lm
# $(top_builddir)/gdk/libgdk.la

11
x11/gtk+/patches/patch-ab Normal file
View File

@ -0,0 +1,11 @@
--- gdk/Makefile.in.orig Tue Mar 16 16:28:30 1999
+++ gdk/Makefile.in Tue Mar 16 16:29:02 1999
@@ -139,7 +139,7 @@
LDADDS = @x_ldflags@ @x_libs@ @GLIB_LIBS@ -lm
-libgdk_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) @GLIB_DEPLIBS@ @x_ldflags@ @x_libs@ -lm
+libgdk_la_LDFLAGS = -version-info 1:2:0 @GLIB_DEPLIBS@ @x_ldflags@ @x_libs@ -lm
EXTRA_PROGRAMS = gxid

11
x11/gtk+/patches/patch-ac Normal file
View File

@ -0,0 +1,11 @@
--- docs/Makefile.in.orig Tue Mar 16 16:30:35 1999
+++ docs/Makefile.in Tue Mar 16 16:30:45 1999
@@ -99,7 +99,7 @@
LT_RELEASE = @LT_RELEASE@
LT_REVISION = @LT_REVISION@
MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
+MAKEINFO = @MAKEINFO@ --no-split
MKINSTALLDIRS = @MKINSTALLDIRS@
NM = @NM@
PACKAGE = @PACKAGE@

43
x11/gtk+/patches/patch-ad Normal file
View File

@ -0,0 +1,43 @@
--- ltmain.sh.orig Tue Mar 16 16:11:00 1999
+++ ltmain.sh Tue Mar 16 16:11:27 1999
@@ -2633,40 +2633,6 @@
# Exit here if they wanted silent mode.
test "$show" = : && exit 0
- echo "----------------------------------------------------------------------"
- echo "Libraries have been installed in:"
- for libdir in $libdirs; do
- echo " $libdir"
- done
- echo
- echo "To link against installed libraries in a given directory, LIBDIR,"
- echo "you must use the \`-LLIBDIR' flag during linking."
- echo
- echo " You will also need to do at least one of the following:"
- if test -n "$shlibpath_var"; then
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
- echo " during execution"
- fi
- if test -n "$runpath_var"; then
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
- echo " during linking"
- fi
- if test -n "$hardcode_libdir_flag_spec"; then
- libdir=LIBDIR
- eval flag=\"$hardcode_libdir_flag_spec\"
-
- echo " - use the \`$flag' linker flag"
- fi
- if test -n "$admincmds"; then
- echo " - have your system administrator run these commands:$admincmds"
- fi
- if test -f /etc/ld.so.conf; then
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
- fi
- echo
- echo "See any operating system documentation about shared libraries for"
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
- echo "----------------------------------------------------------------------"
exit 0
;;

View File

@ -133,13 +133,12 @@ lib/locale/pl/LC_MESSAGES/gtk+.mo
lib/locale/pt/LC_MESSAGES/gtk+.mo
lib/locale/ru/LC_MESSAGES/gtk+.mo
lib/locale/sv/LC_MESSAGES/gtk+.mo
lib/libgdk-1.2.so.0.0
lib/libgdk.so.1.2
lib/libgdk.la
lib/libgdk.a
lib/libgtk-1.2.so.0.0
lib/libgtk.so.1.2
lib/libgtk.la
lib/libgtk.a
@unexec /sbin/ldconfig -R
@exec /sbin/ldconfig -m %B
man/man1/gtk-config.1
@unexec install-info --delete %D/info/gdk.info %D/info/dir