Do not allow port to be installed until any version
in /lib is removed. The older version (1.0.6) was installed with a shared lib version of 1.6 (bad!) -- this is version 1.2. Also, info/dir should never be part of a packing list.
This commit is contained in:
parent
a26f8062d8
commit
a41ed5e7b3
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.4 1999/03/18 01:15:21 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 1999/03/25 20:14:42 marc Exp $
|
||||
|
||||
DISTNAME= glib-1.2.0
|
||||
CATEGORIES= devel
|
||||
@ -19,6 +19,24 @@ CONFIGURE_ARGS+= --enable-static --disable-threads
|
||||
post-extract:
|
||||
@${RM} ${WRKSRC}/docs/*.info
|
||||
|
||||
# People that installed an older version of gtk+ wound up with
|
||||
# libglib.a and libglib.so.1.6 in /usr/X11R6/lib... these files
|
||||
# MUST be removed as the version was incorrect (it came from 1.0.6
|
||||
# sources). Check that out here (and bitch if necessary).
|
||||
#
|
||||
pre-install:
|
||||
@if [ -f ${X11BASE}/lib/libglib.a ]; then \
|
||||
echo "+-------------------"; \
|
||||
echo "| ERROR: you MUST remove the existing glib installation"; \
|
||||
echo "| before installing this version. Use the command"; \
|
||||
echo "|"; \
|
||||
echo "| rm -rf ${X11BASE}/lib/libglib*"; \
|
||||
echo "|"; \
|
||||
echo "| then retry this installation"; \
|
||||
echo "+-------------------"; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${LOCALBASE}/share/aclocal
|
||||
@${INSTALL_DATA} ${WRKSRC}/glib.m4 ${LOCALBASE}/share/aclocal/
|
||||
|
@ -1,5 +1,4 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user