svn commit: r325296 - in head/devel/spdict: . files
Alexey Dokuchaev
danfe at FreeBSD.org
Sat Aug 24 12:50:40 UTC 2013
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 at 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 at 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:
More information about the svn-ports-head
mailing list