aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-05-04 06:38:40 +0800
committermarcus <marcus@FreeBSD.org>2003-05-04 06:38:40 +0800
commit973a37fc8a4418479d93ca03a5c9aca223993cb8 (patch)
tree3e3a458045fcb39a62f3441cfdac5f2d0ce5439d /net
parentf461d7280175d51a35c975f50351effdfb8aed94 (diff)
downloadfreebsd-ports-gnome-973a37fc8a4418479d93ca03a5c9aca223993cb8.tar.gz
freebsd-ports-gnome-973a37fc8a4418479d93ca03a5c9aca223993cb8.tar.zst
freebsd-ports-gnome-973a37fc8a4418479d93ca03a5c9aca223993cb8.zip
Borrow from lang/gnustep-guile to set the guile version correctly for
installation. Reported by: bento
Diffstat (limited to 'net')
-rw-r--r--net/net-http/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/net/net-http/Makefile b/net/net-http/Makefile
index c7565e497142..ac28281c6fdd 100644
--- a/net/net-http/Makefile
+++ b/net/net-http/Makefile
@@ -21,7 +21,11 @@ GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
+.include <bsd.port.pre.mk>
+
+GUILE_VER!= (cd ${PORTSDIR}/lang/guile && make -V GUILE_VER)
+
do-install:
- ${CP} -R ${WRKSRC}/net/ ${LOCALBASE}/share/guile/1.4.1/net/
+ ${CP} -R ${WRKSRC}/net/ ${LOCALBASE}/share/guile/${GUILE_VER}/net/
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>