Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2012 12:33:05 +0000 (UTC)
From:      Dmitry Sivachenko <demon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309568 - head/devel/uatraits
Message-ID:  <201212281233.qBSCX5Md024218@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212281233.qBSCX5Md024218>