Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2017 13:00:16 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r439288 - head/net/pjsip
Message-ID:  <201704241300.v3OD0Gsa068691@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Mon Apr 24 13:00:16 2017
New Revision: 439288
URL: https://svnweb.freebsd.org/changeset/ports/439288

Log:
  Only strip shared libraries if we are actually install them.
  
  This fixes the build when the SHARED option is off.
  
  Reported by:	Dmitry Arkhireev <che at teftel.ru>

Modified:
  head/net/pjsip/Makefile

Modified: head/net/pjsip/Makefile
==============================================================================
--- head/net/pjsip/Makefile	Mon Apr 24 12:58:02 2017	(r439287)
+++ head/net/pjsip/Makefile	Mon Apr 24 13:00:16 2017	(r439288)
@@ -97,7 +97,7 @@ post-patch:
 	@${ECHO} "#include <sys/select.h>" > ${WRKSRC}/pjlib/include/pj/config_site.h
 	@${ECHO} "#define PJ_IOQUEUE_MAX_HANDLES (FD_SETSIZE)" >> ${WRKSRC}/pjlib/include/pj/config_site.h
 
-post-install:
+post-install-SHARED-on:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
 
 post-install-PJSUA-on:



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