svn commit: r309568 - head/devel/uatraits

Dmitry Sivachenko demon at FreeBSD.org
Fri Dec 28 12:33:06 UTC 2012


Author: demon
Date: Fri Dec 28 12:33:05 2012
New Revision: 309568
URL: http://svnweb.freebsd.org/changeset/ports/309568

Log:
  Avoid warning
  "Makefile", line 27: warning: "/nonexistent/bin/python2.7-config --libs"
  returned non-zero
  
  during 'make describe'
  
  Reported by:	beat

Modified:
  head/devel/uatraits/Makefile

Modified: head/devel/uatraits/Makefile
==============================================================================
--- head/devel/uatraits/Makefile	Fri Dec 28 11:24:15 2012	(r309567)
+++ head/devel/uatraits/Makefile	Fri Dec 28 12:33:05 2012	(r309568)
@@ -24,7 +24,9 @@ USE_LDCONFIG=	yes
 
 .include <bsd.port.pre.mk>
 
+.if exists(${PYTHON_CMD}-config)
 PYLIBS!=	${PYTHON_CMD}-config --libs
+.endif
 CONFIGURE_ARGS+=	--with-boost-prefix=${LOCALBASE} \
 			--with-pcre-prefix=${LOCALBASE} \
 			--enable-python --disable-perl --disable-tests \


More information about the svn-ports-head mailing list