svn commit: r374473 - head/www/tdom

Mikhail Teterin mi at FreeBSD.org
Wed Dec 10 15:49:57 UTC 2014


Author: mi
Date: Wed Dec 10 15:49:56 2014
New Revision: 374473
URL: https://svnweb.freebsd.org/changeset/ports/374473
QAT: https://qat.redports.org/buildarchive/r374473/

Log:
  Remove the USE_LDCONFIG -- the shared library installed by this port is
  meant only to be loaded into Tcl at run-time by explicit path (via
  "package require").
  
  It does not need to be known to rtld. In fact, because the permissions
  on the directory (lib/tdom0.8.3) allowed group-writing, ldconfig refused
  to process the directory anyway.
  
  Correct the latter problem for great justice.

Modified:
  head/www/tdom/Makefile

Modified: head/www/tdom/Makefile
==============================================================================
--- head/www/tdom/Makefile	Wed Dec 10 15:47:19 2014	(r374472)
+++ head/www/tdom/Makefile	Wed Dec 10 15:49:56 2014	(r374473)
@@ -23,8 +23,6 @@ CONFIGURE_SCRIPT=	../configure
 pre-configure:
 	${RM} -f ${WRKSRC}/../generic/domalloc.?
 
-USE_LDCONFIG=	${TDOMBASE}
-
 PLIST_SUB+=	PORTVERSION=${PORTVERSION}
 
 DOCS=		CHANGES LICENSE README README.AOL
@@ -43,6 +41,8 @@ CONFIGURE_ARGS+=--enable-threads --disab
 		--prefix=${PREFIX} --exec-prefix=${PREFIX}
 
 post-install:
+	chmod 755 ${STAGEDIR}${TDOMBASE}
+	chmod 644 ${STAGEDIR}${TDOMBASE}/*
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
 . for FILE in ${DOCS}


More information about the svn-ports-head mailing list