svn commit: r439288 - head/net/pjsip

Guido Falsi madpilot at FreeBSD.org
Mon Apr 24 13:00:18 UTC 2017


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:


More information about the svn-ports-head mailing list