From d41930414e5ea6311a599f72445a62d4ccedecfc Mon Sep 17 00:00:00 2001
From: Maxim Sobolev <sobomax@FreeBSD.org>
Date: Tue, 11 Sep 2001 18:41:51 +0000
Subject: Provide bandaid for changed location of include files, because it
 appears that it breaks many things out there, so of which I've tracked down,
 while some have not. After all those places are fixed the bandaid could be
 removed.

Submitted by:	Mike Harding <mvh@ix.netcom.com>
---
 devel/libglade2/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'devel/libglade2')

diff --git a/devel/libglade2/Makefile b/devel/libglade2/Makefile
index cc8237d87139..218f04927368 100644
--- a/devel/libglade2/Makefile
+++ b/devel/libglade2/Makefile
@@ -7,6 +7,7 @@
 
 PORTNAME=	libglade
 PORTVERSION=	0.17
+PORTREVISION=	1
 CATEGORIES=	devel gnome
 MASTER_SITES=	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR=	stable/sources/libglade
@@ -26,4 +27,10 @@ CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LIBS="-L${LOCALBASE}/lib"
 CONFIGURE_TARGET=	--target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
 
+post-install:
+	@if [ -L ${PREFIX}/include/glade ]; then \
+		${RM} -f ${PREFIX}/include/glade; \
+	fi
+	@${LN} -sf ${PREFIX}/include/libglade-1.0/glade ${PREFIX}/include/glade
+
 .include <bsd.port.mk>
-- 
cgit v1.2.3