pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/48974: textproc/mdocml does not build on Solaris 10
The following reply was made to PR pkg/48974; it has been noted by GNATS.
From: =?ISO-8859-15?Q?J=F6rn_Clausen?=
<joern.clausen%uni-bielefeld.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkg-manager%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
pkgsrc-bugs%NetBSD.org@localhost
Subject: Re: pkg/48974: textproc/mdocml does not build on Solaris 10
Date: Wed, 09 Jul 2014 14:51:08 +0200
My current workaround is this change to pkgsrc's Makefile:
--- Makefile 2014/07/08 08:16:59 1.1
+++ Makefile 2014/07/08 15:31:12
@@ -20,6 +20,8 @@
SUBST_FILES.roff+= eqn.7 man.7 mdoc.7 tbl.7
SUBST_SED.roff= -e 's,Xr roff,Xr mandoc-roff,g'
+USE_FEATURES+=asprintf
+
.include "../../mk/bsd.fast.prefs.mk"
# Mac OS X and Solaris 10 and newer do not support static binaries.
combined with this patch to insert the necessary object in mdocml's
Makefile:
--- Makefile.old Tue Jul 8 17:25:49 2014
+++ Makefile Tue Jul 8 17:26:00 2014
@@ -352,7 +352,7 @@
$(INSTALL_DATA) mdocml.md5
$(PREFIX)/snapshots/mdocml-$(VERSION).md5
libmandoc.a: $(COMPAT_OBJS) $(LIBMANDOC_OBJS)
- $(AR) rs $@ $(COMPAT_OBJS) $(LIBMANDOC_OBJS)
+ $(AR) rs $@ $(COMPAT_OBJS) $(LIBMANDOC_OBJS)
../libnbcompat/asprintf.o
mandoc: $(MANDOC_OBJS) libmandoc.a
$(CC) $(LDFLAGS) -o $@ $(MANDOC_OBJS) libmandoc.a
--
Jörn Clausen
joern.clausen%uni-bielefeld.de@localhost
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
Home |
Main Index |
Thread Index |
Old Index