install glib.info, fix shared libs filenames

This commit is contained in:
brad 1999-03-16 21:06:20 +00:00
parent c720e8585f
commit 10957739f7
8 changed files with 118 additions and 16 deletions

View File

@ -1,22 +1,29 @@
# $OpenBSD: Makefile,v 1.2 1999/03/02 04:41:01 marc Exp $
#
# $OpenBSD: Makefile,v 1.3 1999/03/16 21:06:20 brad Exp $
DISTNAME = glib-1.2.0
CATEGORIES = devel
DISTNAME= glib-1.2.0
CATEGORIES= devel
NEED_VERSION= 1.73
NEED_VERSION= 1.73
MAINTAINER = rohee@OpenBSD.ORG
MAINTAINER= rohee@OpenBSD.ORG
MASTER_SITES = ftp://ftp.gimp.org/pub/gtk/v1.2/ \
ftp://ftp.cs.umn.edu/pub/gimp/gtk/v1.2/ \
http://www.ameth.org/gimp/gtk/v1.2/
MASTER_SITES= ftp://ftp.gimp.org/pub/gtk/v1.2/ \
ftp://ftp.cs.umn.edu/pub/gimp/gtk/v1.2/ \
http://www.ameth.org/gimp/gtk/v1.2/
GNU_CONFIGURE = yes
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
CONFIGURE_ARGS += --enable-static
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static --disable-threads
post-extract:
@${RM} ${WRKSRC}/docs/*.info
post-install:
@${MKDIR} ${LOCALBASE}/share/aclocal
@${INSTALL_DATA} ${WRKSRC}/glib.m4 ${LOCALBASE}/share/aclocal/
test -f ${PREFIX}/info/dir || \
sed -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir
install-info ${PREFIX}/info/glib.info ${PREFIX}/info/dir
${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- Makefile.in.orig Tue Mar 16 15:30:56 1999
+++ Makefile.in Tue Mar 16 15:31:14 1999
@@ -113,7 +113,7 @@
configinclude_DATA = glibconfig.h
-libglib_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE)
+libglib_la_LDFLAGS = -version-info 1:2:0
noinst_PROGRAMS = testglib testgdate testgdateparser

View File

@ -0,0 +1,11 @@
--- gmodule/Makefile.in.orig Tue Mar 16 15:29:01 1999
+++ gmodule/Makefile.in Tue Mar 16 15:29:33 1999
@@ -103,7 +103,7 @@
lib_LTLIBRARIES = libgmodule.la libgplugin_a.la libgplugin_b.la
libgmodule_la_SOURCES = gmodule.c
-libgmodule_la_LDFLAGS = @G_MODULE_LDFLAGS@ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE)
+libgmodule_la_LDFLAGS = @G_MODULE_LDFLAGS@ -version-info 1:2:0
libgmodule_la_LIBADD = @G_MODULE_LIBS@ # $(libglib)

View File

@ -0,0 +1,11 @@
--- gthread/Makefile.in.orig Tue Mar 16 15:29:59 1999
+++ gthread/Makefile.in Tue Mar 16 15:30:23 1999
@@ -97,7 +97,7 @@
lib_LTLIBRARIES = libgthread.la
libgthread_la_SOURCES = gthread.c
-libgthread_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE)
+libgthread_la_LDFLAGS = -version-info 1:2:0
libgthread_la_LIBADD = @G_THREAD_LIBS@

View File

@ -0,0 +1,11 @@
--- docs/Makefile.in.orig Tue Mar 16 15:31:39 1999
+++ docs/Makefile.in Tue Mar 16 15:31:48 1999
@@ -81,7 +81,7 @@
LT_RELEASE = @LT_RELEASE@
LT_REVISION = @LT_REVISION@
MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
+MAKEINFO = @MAKEINFO@ --no-split
NM = @NM@
PACKAGE = @PACKAGE@
RANLIB = @RANLIB@

View File

@ -0,0 +1,43 @@
--- ltmain.sh.orig Tue Mar 16 15:54:50 1999
+++ ltmain.sh Tue Mar 16 15:58:10 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

@ -1,14 +1,17 @@
bin/glib-config
info/dir
@unexec install-info --delete %D/info/glib.info %D/info/dir
info/glib.info
lib/libglib-1.2.so.0.0
@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
@exec install-info %D/info/glib.info %D/info/dir
lib/libglib.so.1.2
lib/libglib.la
lib/libglib.a
lib/glib/include/glibconfig.h
lib/libgmodule-1.2.so.0.0
lib/libgmodule.so.1.2
lib/libgmodule.la
lib/libgmodule.a
lib/libgthread-1.2.so.0.0
lib/libgthread.so.1.2
lib/libgthread.la
lib/libgthread.a
man/man1/glib-config.1

View File

@ -1,9 +1,15 @@
bin/glib-config
info/dir
@unexec install-info --delete %D/info/glib.info %D/info/dir
info/glib.info
@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
@exec install-info %D/info/glib.info %D/info/dir
lib/libglib.la
lib/libglib.a
lib/glib/include/glibconfig.h
lib/libgmodule.la
lib/libgmodule.a
lib/libgthread.la
lib/libgthread.a
man/man1/glib-config.1
share/aclocal/glib.m4
@ -11,4 +17,3 @@ include/glib.h
include/gmodule.h
@dirrm lib/glib/include
@dirrm lib/glib
@exec [ ! -x /sbin/ldconfig ] || /sbin/ldconfig -m /usr/local/lib