Only declare the tests and post-install targets if we aren't in a slave

port.  This fixes the py-gamin slave build.
This commit is contained in:
Joe Marcus Clarke 2005-05-09 23:54:51 +00:00
parent 88edf9ec08
commit 7488473e0b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134963

View File

@ -33,6 +33,7 @@ USE_INC_LIBTOOL_VER=15
post-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} -f
.if !defined(GAMIN_SLAVE)
tests: build
@${ECHO_MSG} "===> Running gamin regression tests"
@(cd ${WRKSRC}/tests && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
@ -40,5 +41,6 @@ tests: build
post-install:
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>