diff options
Diffstat (limited to 'databases/gdbm/Makefile')
-rw-r--r-- | databases/gdbm/Makefile | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/databases/gdbm/Makefile b/databases/gdbm/Makefile index 6923395b3bc7..33685812ce31 100644 --- a/databases/gdbm/Makefile +++ b/databases/gdbm/Makefile @@ -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> |