aboutsummaryrefslogtreecommitdiff
path: root/devel/libglade2
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-09-11 18:41:51 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-09-11 18:41:51 +0000
commitd41930414e5ea6311a599f72445a62d4ccedecfc (patch)
tree3efa71f18f96bb7e649f4ea92499203bad1febb9 /devel/libglade2
parente8bd479404c634e8c48cb249c7199d27e9d2f9cf (diff)
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>
Notes
Notes: svn path=/head/; revision=47700
Diffstat (limited to 'devel/libglade2')
-rw-r--r--devel/libglade2/Makefile7
1 files changed, 7 insertions, 0 deletions
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>