From 43a91303946fcf41bb7cad842e956ffc2fbaf916 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 21 Feb 2014 14:44:17 +0100 Subject: [PATCH] mdocml: update to 1.12.3. --- srcpkgs/mdocml/patches/void.patch | 29 ----------------------------- srcpkgs/mdocml/template | 16 +++++----------- 2 files changed, 5 insertions(+), 40 deletions(-) delete mode 100644 srcpkgs/mdocml/patches/void.patch diff --git a/srcpkgs/mdocml/patches/void.patch b/srcpkgs/mdocml/patches/void.patch deleted file mode 100644 index 886bfb9cfa..0000000000 --- a/srcpkgs/mdocml/patches/void.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- Makefile.orig 2012-11-23 17:07:53.741714557 +0100 -+++ Makefile 2012-11-23 17:08:53.593252859 +0100 -@@ -10,7 +10,7 @@ - # Specify this if you want to hard-code the operating system to appear - # in the lower-left hand corner of -mdoc manuals. - # --# CFLAGS += -DOSNAME="\"OpenBSD 4.5\"" -+CFLAGS += -DOSNAME="\"Void Linux\"" - - VERSION = 1.12.1 - VDATE = 23 March 2012 -@@ -32,7 +32,7 @@ CFLAGS += -DUSE_WCHAR - # If your system supports static binaries only, uncomment this. This - # appears only to be BSD UNIX systems (Mac OS X has no support and Linux - # requires -pthreads for static libdb). --STATIC = -static -+#STATIC = -static - - CFLAGS += -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\"" - CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -@@ -57,7 +57,7 @@ INSTALL_MAN = $(INSTALL_DATA) - # However, if you don't have -ldb at all (or it's not native), then - # comment out apropos and mandocdb. - # --#DBLIB = -ldb -+DBLIB = -ldb - DBBIN = apropos mandocdb man.cgi catman whatis - DBLN = llib-lapropos.ln llib-lmandocdb.ln llib-lman.cgi.ln llib-lcatman.ln - diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template index 1a2fb4de49..a0812a48a2 100644 --- a/srcpkgs/mdocml/template +++ b/srcpkgs/mdocml/template @@ -1,25 +1,19 @@ # Template file for 'mdocml' pkgname=mdocml -version=1.12.1 -revision=2 +version=1.12.3 +revision=1 makedepends="db-devel>=5.3" conflicts="groff>=0 man-db>=0" -provides="man-${version} roff-${version} apropos-${version} whatis-${version}" +provides="man-${version}_1 roff-${version}_1 apropos-${version}_1 whatis-${version}_1" short_desc="mdoc macro compiler" maintainer="Juan RP " license="ISC" homepage="http://mdocml.bsd.lv" distfiles="${homepage}/snapshots/mdocml-$version.tar.gz" -checksum=12a756cd2901954bccdd25819a16d0ab0501c32c87ad7973570cd65608d32891 -long_desc=" - mdocml is a suite of tools compiling -mdoc, the roff macro package of - choice for BSD manual pages, and -man, the predominant historical package - for UNIX manuals. The mission of mdocml is to deprecate groff, the GNU roff - implementation, for displaying -mdoc pages whilst providing token support - for -man." +checksum=8ae7f7d471d52313707c4d78b25846dc4edca395b36ad20f24dead5399c13ee6 do_build() { - make ${makejobs} + make DBLIB=-ldb STATIC= ${makejobs} } do_install() {