Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 1998 16:24:23 -0700 (MST)
From:      Brett Taylor <brett@peloton.physics.montana.edu>
To:        freebsd-ports@FreeBSD.ORG
Subject:   porting question #10,001
Message-ID:  <Pine.BSF.3.96.980221160716.6422A-100000@peloton.physics.montana.edu>

next in thread | raw e-mail | index | archive | help
Or so it seems.  :-)

I'm attempting to upgrade the dotfile port which has been upgraded and I
thought I could essentially change the version #'s and make sure the
patches still worked but... 

They've added support for procmailrc files, but the procmail portion needs
a gnu configure script to be run in addition to the one that runs for the
main program.  I've set up the Makefile like:

pre-fetch:
.if !defined(PROCMAIL)
        @${ECHO_MSG} "If you would like to use dotfile to help make
procmailrc files, please compile with \"make PROCMAIL=yes\"."
        @${ECHO_MSG} "If you decide to install procmail later, you will
need to run the configure script in ${PREFIX}/${DISTNAME}/procmail."
.endif

post-configure:
.if defined(PROCMAIL)
	now do some kind of call to run the configure script there
.endif

I've tried the following to replace the above line and it doesn't work:

@${CD} ${WRKSRC}/Modules/procmail @${CONFIGURE}

I've tried a few other things similar to this and they also didn't work.
Actually the above runs it just puts all of the configured stuff in
/usr/ports/dotfile which isn't so useful.  :-)

I thought I could do this in a do-configure area and just have multiple
configure files (as the bsd.port.mk says it can run multiple ones) if
procmail is defined otherwise just do a normal configure.  However I
looked and I couldn't see any examples of multiple configure files being
run - how would you set that up?  Something like:

	CONFIGURE_SCRIPT= configure ${WRKSRC}/Modules/procmail/configure

didn't work - it ignored the extra argument.  I suppose I need some
delimiter, but what I can't tell.

Brett

*********************************************************
Brett Taylor 		brett@peloton.physics.montana.edu
http://peloton.physics.montana.edu/brett/

When you wake up in the morning
With the blues in your fingertips
Get out that ol' guitar and play
It's the only way to scratch that itch



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980221160716.6422A-100000>