Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2013 14:59:39 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335995 - head/graphics/mapserver
Message-ID:  <201312091459.rB9ExdeN050207@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Mon Dec  9 14:59:39 2013
New Revision: 335995
URL: http://svnweb.freebsd.org/changeset/ports/335995

Log:
  - Fix the run error of missing shared object
  
  PR:		184627
  Submitted by:	Julien Cigar <jcigar@ulb.ac.be>

Modified:
  head/graphics/mapserver/Makefile
  head/graphics/mapserver/pkg-plist

Modified: head/graphics/mapserver/Makefile
==============================================================================
--- head/graphics/mapserver/Makefile	Mon Dec  9 14:59:00 2013	(r335994)
+++ head/graphics/mapserver/Makefile	Mon Dec  9 14:59:39 2013	(r335995)
@@ -3,6 +3,7 @@
 
 PORTNAME=		mapserver
 PORTVERSION=		6.4.0
+PORTREVISION=		1
 CATEGORIES=		graphics www geography
 MASTER_SITES=		http://download.osgeo.org/mapserver/
 
@@ -171,8 +172,6 @@ CMAKE_ARGS+=		-DCMAKE_BUILD_TYPE=Release
 PROG_FILES=		legend scalebar shp2img shptree shptreetst shptreevis \
 			sortshp msencrypt tile4ms
 
-post-build:
-
 do-install:
 .for f in ${PROG_FILES}
 	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin
@@ -191,6 +190,9 @@ do-install:
 .endif
 
 post-install:
+	@${LN} -s ${PREFIX}/lib/libmapserver.so.6.4.0 ${PREFIX}/lib/libmapserver.so.1
+	@${LN} -s ${PREFIX}/lib/libmapserver.so.1 ${PREFIX}/lib/libmapserver.so
+
 .if ${PORT_OPTIONS:MPHP}
 	@${ECHO_MSG} "Please add the line extension=php_mapscript.so to ${LOCALBASE}/etc/php/extensions.ini"
 .endif

Modified: head/graphics/mapserver/pkg-plist
==============================================================================
--- head/graphics/mapserver/pkg-plist	Mon Dec  9 14:59:00 2013	(r335994)
+++ head/graphics/mapserver/pkg-plist	Mon Dec  9 14:59:39 2013	(r335995)
@@ -7,6 +7,8 @@ bin/shptreetst
 bin/shptreevis
 bin/sortshp
 bin/tile4ms
+lib/libmapserver.so
+lib/libmapserver.so.1
 lib/libmapserver.so.6.4.0
 %%MAPSERV%%www/apache%%APA_VER%%/cgi-bin/mapserv
 %%PHP%%%%PHP_EXTENSION_DIR%%/php_mapscript.so



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