diff options
author | obache <obache@pkgsrc.org> | 2014-12-23 02:30:32 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-12-23 02:30:32 +0000 |
commit | f897564cef394d0705019a4df7c9cee1947a8423 (patch) | |
tree | 8ce72beec9419e4876595f6083c04f203f5368f3 /textproc | |
parent | b99213bdecb1ad2398044a528a4dc600c1874eaf (diff) | |
download | pkgsrc-f897564cef394d0705019a4df7c9cee1947a8423.tar.gz |
Set proper variables to configure.
Fixes MANPATH, installation permmissions, sqlite3 detection, and so on.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/mdocml/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/textproc/mdocml/Makefile b/textproc/mdocml/Makefile index 4fafa9650ae..59942280d1c 100644 --- a/textproc/mdocml/Makefile +++ b/textproc/mdocml/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.46 2014/12/23 01:58:43 obache Exp $ +# $NetBSD: Makefile,v 1.47 2014/12/23 02:30:32 obache Exp $ DISTNAME= mdocml-1.13.2 CATEGORIES= textproc devel @@ -23,6 +23,14 @@ SUBST_SED.roff= -e 's,Xr roff,Xr mandoc-roff,g' post-extract: ${ECHO} PREFIX=${PREFIX} > ${WRKSRC}/configure.local + ${ECHO} MANDIR=${PREFIX}/${PKGMANDIR} >> ${WRKSRC}/configure.local + ${ECHO} "CFLAGS=${CFLAGS:Q}" >> ${WRKSRC}/configure.local + ${ECHO} DBLIB=\"${LDFLAGS} -lsqlite3\" >> ${WRKSRC}/configure.local + ${ECHO} "INSTALL=${INSTALL:Q}" >> ${WRKSRC}/configure.local + ${ECHO} "INSTALL_PROGRAM=${INSTALL_PROGRAM:Q}" >> ${WRKSRC}/configure.local + ${ECHO} "INSTALL_LIB=${INSTALL_DATA:Q}" >> ${WRKSRC}/configure.local + ${ECHO} "INSTALL_MAN=${INSTALL_MAN:Q}" >> ${WRKSRC}/configure.local + ${ECHO} "INSTALL_DATA=${INSTALL_DATA:Q}" >> ${WRKSRC}/configure.local ${ECHO} MANM_ROFF="mandoc-roff" >> ${WRKSRC}/configure.local # Mac OS X and Solaris 10 and newer do not support static binaries. .if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS" |