Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Aug 2013 12:50:39 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r325296 - in head/devel/spdict: . files
Message-ID:  <201308241250.r7OCodoD085773@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sat Aug 24 12:50:39 2013
New Revision: 325296
URL: http://svnweb.freebsd.org/changeset/ports/325296

Log:
  - Unbreak parallel (-jX) builds by adding missing dependency
  - Adjust the header and COMMENT line, contract MASTER_SITES
  - Unmute installation commands, don't use absolute path in symlink
  
  Technically, since this port does not install any binaries (although it
  builds them), we could avoid -jX race by setting ALL_TARGET accordingly,
  but given that problem was easy to fix, retain current state of things).
  
  Approved by:	miwi, bapt (portmgr, implicit)

Modified:
  head/devel/spdict/Makefile
  head/devel/spdict/files/patch-Makefile

Modified: head/devel/spdict/Makefile
==============================================================================
--- head/devel/spdict/Makefile	Sat Aug 24 12:32:33 2013	(r325295)
+++ head/devel/spdict/Makefile	Sat Aug 24 12:50:39 2013	(r325296)
@@ -1,26 +1,24 @@
-# Created by: vanilla@
+# Created by: Vanilla I. Shu <vanilla@FreeBSD.org>
 # $FreeBSD$
 
 PORTNAME=	spdict
 PORTVERSION=	0.3
 PORTREVISION=	1
 CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES=	GOOGLE_CODE
 DISTNAME=	${PORTNAME}-${PORTVERSION}.src
 
 MAINTAINER=	vanilla@FreeBSD.org
-COMMENT=	A library of dictionary algorithms
+COMMENT=	Library of dictionary algorithms
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 USE_LDCONFIG=	yes
 USES=		gmake
 
-MAKE_JOBS_UNSAFE=yes
-
 do-install:
 	@${MKDIR} ${PREFIX}/include/spdict
-	@${INSTALL} ${WRKSRC}/*.hpp ${PREFIX}/include/spdict
-	@${INSTALL} ${WRKSRC}/libspdict.so ${PREFIX}/lib/libspdict.so.1
-	@${LN} -s ${PREFIX}/lib/libspdict.so.1 ${PREFIX}/lib/libspdict.so
+	${INSTALL_DATA} ${WRKSRC}/*.hpp ${PREFIX}/include/spdict
+	${INSTALL_DATA} ${WRKSRC}/libspdict.so ${PREFIX}/lib/libspdict.so.1
+	${LN} -s libspdict.so.1 ${PREFIX}/lib/libspdict.so
 
 .include <bsd.port.mk>

Modified: head/devel/spdict/files/patch-Makefile
==============================================================================
--- head/devel/spdict/files/patch-Makefile	Sat Aug 24 12:32:33 2013	(r325295)
+++ head/devel/spdict/files/patch-Makefile	Sat Aug 24 12:50:39 2013	(r325296)
@@ -12,3 +12,12 @@
  SOFLAGS = -shared
  LDFLAGS = -lstdc++ -lpthread
  
+@@ -48,6 +48,8 @@ testshm: testshm.o spdictshm.o
+ testshmcache: testshmcache.o spdictshm.o spdictshmhashmap.o spdictshmcache.o
+ 	$(LINKER) $(LDFLAGS) $^ -L. -lspdict -o $@
+ 
++testdict testcache testshm testshmcache: libspdict.so
++
+ dist: clean spdict-$(version).src.tar.gz
+ 
+ spdict-$(version).src.tar.gz:



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