aboutsummaryrefslogtreecommitdiff
path: root/devel/bison20/Makefile
diff options
context:
space:
mode:
authorSean Chittenden <seanc@FreeBSD.org>2003-11-15 22:20:01 +0000
committerSean Chittenden <seanc@FreeBSD.org>2003-11-15 22:20:01 +0000
commit321ff106fad79141c366006fb0ce74efcd2700a3 (patch)
tree184b104b690c694bfb858b7c16457d853ee2c580 /devel/bison20/Makefile
parentbe2f66b2f4f3015108b284f48529e18992e73aa1 (diff)
downloadports-321ff106fad79141c366006fb0ce74efcd2700a3.tar.gz
ports-321ff106fad79141c366006fb0ce74efcd2700a3.zip
When installing bison, create a symlink from bin/bison to bin/bison1875
that way ports that require bison1875 (ie: PostgreSQL 7.4+) can properly detect this dependency. Given both bison's have the appropriate CONFLICTS sections, this should be a big enough hint to users to move from bison < 1.875 to something more recent. Bump port revision. Pointy hat to: bison(1) authors for grammar incompatibilities
Notes
Notes: svn path=/head/; revision=94060
Diffstat (limited to 'devel/bison20/Makefile')
-rw-r--r--devel/bison20/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/bison20/Makefile b/devel/bison20/Makefile
index 0c6856608bf7..0c56476b12a2 100644
--- a/devel/bison20/Makefile
+++ b/devel/bison20/Makefile
@@ -7,7 +7,7 @@
PORTNAME= bison
PORTVERSION= 1.875
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -37,4 +37,7 @@ MAN1= bison.1
post-extract:
@${RM} -f ${WRKSRC}/doc/bison.info*
+post-install:
+ ${LN} -sf ${LOCALBASE}/bin/bison ${LOCALBASE}/bin/bison1875
+
.include <bsd.port.mk>