> one little tweak:
> 

I went for this one:

> Option 2:
> 
> add cmocka as LIB_DEPENDS to running regression tests and remove

but since devel/cmocka is only used in the tests, I added a TEST_DEPENDS
instead.

> whitspaces.
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/net/profanity/Makefile,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 Makefile
> --- Makefile  25 Apr 2016 17:46:38 -0000      1.1.1.1
> +++ Makefile  25 Apr 2016 19:05:32 -0000
> @@ -18,7 +18,9 @@ WANTLIB += otr strophe uuid
>  BUILD_DEPENDS +=${MODGNU_AUTOCONF_DEPENDS} \
>               ${MODGNU_AUTOMAKE)DEPENDS} \
>  
> +# cmocka for tests
>  LIB_DEPENDS +=       net/curl \
> +             devel/cmocka \
>               devel/readline>=6.1p2 \
>               devel/glib2 \
>               net/libstrophe \
> @@ -43,6 +45,6 @@ AUTOMAKE_VERSION =  1.11
>  post-patch:
>       find ${WRKSRC} -type f -name "*.c" \
>               -exec sed -i '/stub\_ui.h/d' "{}" \;
> -     sed -i s,/usr/local,${LOCALBASE}, ${WRKSRC}/configure.ac 
> +     sed -i s,/usr/local,${LOCALBASE}, ${WRKSRC}/configure.ac
>  
>  .include <bsd.PORt.mk>
> 

Reply via email to