aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libglade/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-09-12 02:41:51 +0800
committersobomax <sobomax@FreeBSD.org>2001-09-12 02:41:51 +0800
commit19f4c638ce202d5e27533b0e1c014a256ca53b33 (patch)
tree255178b4812f597689772b7547fe53fe0e1d356c /devel/libglade/Makefile
parentc1977b8c38a870f978b9528efbebdc4a370b9d75 (diff)
downloadfreebsd-ports-gnome-19f4c638ce202d5e27533b0e1c014a256ca53b33.tar.gz
freebsd-ports-gnome-19f4c638ce202d5e27533b0e1c014a256ca53b33.tar.zst
freebsd-ports-gnome-19f4c638ce202d5e27533b0e1c014a256ca53b33.zip
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>
Diffstat (limited to 'devel/libglade/Makefile')
-rw-r--r--devel/libglade/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/devel/libglade/Makefile b/devel/libglade/Makefile
index cc8237d87139..218f04927368 100644
--- a/devel/libglade/Makefile
+++ b/devel/libglade/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>