Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2013 14:26:05 +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: r321254 - head/databases/gdbm
Message-ID:  <201306191426.r5JEQ5xs043854@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Wed Jun 19 14:26:05 2013
New Revision: 321254
URL: http://svnweb.freebsd.org/changeset/ports/321254

Log:
  - Mark as make jobs (-jX) unsafe for the time being
  - Drop the article from COMMENT line
  - Define LICENSE (GPLv3)
  - Remove pre-everything target: OPTIONS framework is vocal enough
  - Improve and move OPTIONS knobs lower in the Makefile
  - Fix bad indentation in post-patch commands as appropriate
  - Correct a typo and reformat port description, and point WWW to a more
    up-to-date page version while I'm at it
  
  Approved by:	gabor (maintainer)

Modified:
  head/databases/gdbm/Makefile
  head/databases/gdbm/pkg-descr

Modified: head/databases/gdbm/Makefile
==============================================================================
--- head/databases/gdbm/Makefile	Wed Jun 19 14:14:13 2013	(r321253)
+++ head/databases/gdbm/Makefile	Wed Jun 19 14:26:05 2013	(r321254)
@@ -7,40 +7,36 @@ CATEGORIES=	databases
 MASTER_SITES=	GNU
 
 MAINTAINER=	gabor@FreeBSD.org
-COMMENT=	The GNU database manager
+COMMENT=	GNU database manager
 
-OPTIONS_DEFINE=	COMPAT
-COMPAT_DESC=	dbm/ndbm compatibility
+LICENSE=	GPLv3
 
 GNU_CONFIGURE=	yes
 USE_AUTOTOOLS=	libtool
 USE_GMAKE=	yes
 USE_LDCONFIG=	yes
 
+MAKE_JOBS_UNSAFE=	yes
+
 INFO=		gdbm
 MAN3=		gdbm.3
 
+OPTIONS_DEFINE=	COMPAT
+COMPAT_DESC=	Enable dbm/ndbm compatibility
+
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MCOMPAT}
-CONFIGURE_ARGS+=--enable-libgdbm-compat
+CONFIGURE_ARGS=	--enable-libgdbm-compat
 PLIST_SUB=	GDBM_COMPAT=""
 .else
 PLIST_SUB=	GDBM_COMPAT="@comment "
 .endif
 
-pre-everything::
-.if ! ${PORT_OPTIONS:MCOMPAT}
-	@${ECHO_MSG}
-	@${ECHO_MSG} "If you need UNIX dbm/ndbm compatibility functions,"
-	@${ECHO_MSG} "use \"make WITH=COMPAT\""
-	@${ECHO_MSG}
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e "s|LIBS = @LIBS@ -lc|LIBS = @LIBS@|" \
-			-e "s|BINOWN = bin|BINOWN = root|" -e "s|BINGRP = bin|BINGRP = wheel|" \
-			-e "s|libgdbm.la libgdbm_compat.la|libgdbm.la libgdbm_compat.la gdbm.info|" \
+		-e "s|BINOWN = bin|BINOWN = root|" -e "s|BINGRP = bin|BINGRP = wheel|" \
+		-e "s|libgdbm.la libgdbm_compat.la|libgdbm.la libgdbm_compat.la gdbm.info|" \
 			${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>

Modified: head/databases/gdbm/pkg-descr
==============================================================================
--- head/databases/gdbm/pkg-descr	Wed Jun 19 14:14:13 2013	(r321253)
+++ head/databases/gdbm/pkg-descr	Wed Jun 19 14:26:05 2013	(r321254)
@@ -1,9 +1,8 @@
-The GNU `dbm' is a library of database functions that use extendible
-hashing and works similar to the standard UNIX `dbm' functions.
-These routines are provided to a programmer needing to create and
-manipulate a hashed database.
+The GNU dbm is a library of database functions that use extensible hashing
+and works similar to the standard UNIX dbm functions.  These routines are
+provided to a programmer needing to create and manipulate a hashed database.
 
-This library exists in the FreeBSD base collection, but the GNU
-version has added functionality that is sometimes useful.
+This library exists in the FreeBSD base collection, but the GNU version has
+added functionality that is sometimes useful.
 
-WWW: http://www.gnu.org/software/gdbm/gdbm.html
+WWW: http://www.gnu.org/software/gdbm/



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