On Wed, Feb 20, 2013 at 10:32:36AM +0000, Stuart Henderson wrote: > Something like this might make sense.. >
This works for me. Anyone who is running the static version of fossil is probably doing so to for this purpose. I'm guessing this doesn't need to go in before lock, so I can integrate it into the patch I have to update fossil to 1.25, which I was planning on sending out after unlock. > Index: Makefile > =================================================================== > RCS file: /cvs/ports/devel/fossil/Makefile,v > retrieving revision 1.35 > diff -u -p -r1.35 Makefile > --- Makefile 23 Oct 2012 08:10:27 -0000 1.35 > +++ Makefile 20 Feb 2013 10:32:16 -0000 > @@ -5,6 +5,7 @@ COMMENT = simple distributed software c > DISTNAME = fossil-src-20121022124804 > PKGNAME = fossil-1.24 > EPOCH = 0 > +REVISION = 0 > CATEGORIES = devel www > > MAINTAINER = James Turner <[email protected]> > @@ -32,6 +33,7 @@ CONFIGURE_ARGS = --disable-internal-sqli > > .if ${FLAVOR} == "static" > CONFIGURE_ARGS += --static --with-openssl=none > +PREFIX = /var/www > .endif > > REGRESS_DEPENDS = ${MODTCL_RUN_DEPENDS} > @@ -43,6 +45,7 @@ do-regress: > @cd ${WRKSRC} && ${MODTCL_BIN} test/tester.tcl fossil > > do-install: > + ${INSTALL_PROGRAM_DIR} ${PREFIX}/bin > ${INSTALL_PROGRAM} ${WRKSRC}/fossil ${PREFIX}/bin > > .include <bsd.port.mk> > Index: pkg/PLIST > =================================================================== > RCS file: /cvs/ports/devel/fossil/pkg/PLIST,v > retrieving revision 1.1.1.1 > diff -u -p -r1.1.1.1 PLIST > --- pkg/PLIST 23 Sep 2009 19:06:46 -0000 1.1.1.1 > +++ pkg/PLIST 20 Feb 2013 10:32:16 -0000 > @@ -1,2 +1,3 @@ > @comment $OpenBSD: PLIST,v 1.1.1.1 2009/09/23 19:06:46 sthen Exp $ > +@option no-default-conflict > @bin bin/fossil > -- James Turner
