helping out INDEX builds. best practices?

Michael Scheidell scheidell at FreeBSD.org
Wed Feb 8 01:43:36 UTC 2012


any GOOD way to do this without spawing a shell?
SVN_PORTVERSION!=    cd ${SVN_PORTDIR} && ${MAKE} -V PORTVERSION

by looking for this, its a pretty common thing:  I played around for 2 
hours and gave up.

grep -R -- 'MAKE. -V PORT' /usr/ports

./devel/git-merge-changelog/Makefile:GNULIB_PORTVERSION!=    cd 
${GNULIB_PORTDIR} && ${MAKE} -V PORTVERSION
./devel/git-merge-changelog/Makefile:GNULIB_PORTREVISION!=    cd 
${GNULIB_PORTDIR} && ${MAKE} -V PORTREVISION
./devel/git-merge-changelog/Makefile:GNULIB_PORTEPOCH!=    cd 
${GNULIB_PORTDIR} && ${MAKE} -V PORTEPOCH
./devel/libopensync/Makefile:SWIG_VER!=    cd ${PORTSDIR}/devel/swig13 
&& ${MAKE} -V PORTVERSION
./devel/svn_load_dirs/Makefile:SVN_PORTVERSION!=    cd ${SVN_PORTDIR} && 
${MAKE} -V PORTVERSION
./devel/svnmerge/Makefile:SVN_PORTVERSION!=    cd ${SVN_PORTDIR} && 
${MAKE} -V PORTVERSION
./security/sguil-server/Makefile:MYSQLTCL_VER!=    cd 
${PORTSDIR}/databases/mysqltcl && ${MAKE} -V PORTVERSION

if a certain port needs to be kept in sync with another portversion, 
other than putting a comment in the main port "# must bump portversion 
in port..." where you have two maintainers, is there a better way to do 
this?

I know != spawns a shell, but I can't think of another way

(port I am looking at is ../devel/svnmerge)



-- 
Michael Scheidell, CTO
 >*| * SECNAP Network Security Corporation
d: +1.561.948.2259
w: http://people.freebsd.org/~scheidell


More information about the freebsd-ports mailing list