summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-09-11 18:41:51 +0000
committersobomax <sobomax@FreeBSD.org>2001-09-11 18:41:51 +0000
commit19f4c638ce202d5e27533b0e1c014a256ca53b33 (patch)
tree255178b4812f597689772b7547fe53fe0e1d356c /devel
parentc1977b8c38a870f978b9528efbebdc4a370b9d75 (diff)
downloadFreeBSD-ports-19f4c638ce202d5e27533b0e1c014a256ca53b33.zip
FreeBSD-ports-19f4c638ce202d5e27533b0e1c014a256ca53b33.tar.gz
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')
-rw-r--r--devel/libglade/Makefile7
-rw-r--r--devel/libglade2/Makefile7
2 files changed, 14 insertions, 0 deletions
diff --git a/devel/libglade/Makefile b/devel/libglade/Makefile
index cc8237d..218f049 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>
diff --git a/devel/libglade2/Makefile b/devel/libglade2/Makefile
index cc8237d..218f049 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>
OpenPOWER on IntegriCloud