| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.76 2015/01/08 09:02:27 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.77 2015/01/17 12:10:01 wiedi Exp $ |
2 | | | 2 | |
3 | DISTNAME= groff-1.22.3 | | 3 | DISTNAME= groff-1.22.3 |
4 | CATEGORIES= textproc | | 4 | CATEGORIES= textproc |
5 | MASTER_SITES= ${MASTER_SITE_GNU:=groff/} | | 5 | MASTER_SITES= ${MASTER_SITE_GNU:=groff/} |
6 | | | 6 | |
7 | MAINTAINER= pkgsrc-users@NetBSD.org | | 7 | MAINTAINER= pkgsrc-users@NetBSD.org |
8 | HOMEPAGE= http://www.gnu.org/software/groff/groff.html | | 8 | HOMEPAGE= http://www.gnu.org/software/groff/groff.html |
9 | COMMENT= GNU roff text processing suite | | 9 | COMMENT= GNU roff text processing suite |
10 | LICENSE= gnu-gpl-v3 | | 10 | LICENSE= gnu-gpl-v3 |
11 | | | 11 | |
12 | CONFLICTS= mdocml<1.12.0nb3 ja-groff-[0-9]* | | 12 | CONFLICTS= mdocml<1.12.0nb3 ja-groff-[0-9]* |
13 | | | 13 | |
14 | CHECK_PERMS= NO | | 14 | CHECK_PERMS= NO |
| @@ -39,27 +39,27 @@ REPLACE_FILES.sed+= font/devps/generate/ | | | @@ -39,27 +39,27 @@ REPLACE_FILES.sed+= font/devps/generate/ |
39 | | | 39 | |
40 | PLIST_SRC+= ${WRKDIR}/PLIST-local | | 40 | PLIST_SRC+= ${WRKDIR}/PLIST-local |
41 | PLIST_SRC+= PLIST | | 41 | PLIST_SRC+= PLIST |
42 | | | 42 | |
43 | .include "../../mk/bsd.prefs.mk" | | 43 | .include "../../mk/bsd.prefs.mk" |
44 | | | 44 | |
45 | BUILD_DEFS+= PAPERSIZE | | 45 | BUILD_DEFS+= PAPERSIZE |
46 | .if defined(PAPERSIZE) | | 46 | .if defined(PAPERSIZE) |
47 | CONFIGURE_ENV+= PAGE=${PAPERSIZE:Q} | | 47 | CONFIGURE_ENV+= PAGE=${PAPERSIZE:Q} |
48 | .endif | | 48 | .endif |
49 | | | 49 | |
50 | .include "../../mk/compiler.mk" | | 50 | .include "../../mk/compiler.mk" |
51 | .if !empty(CC_VERSION:Mgcc-4.[6-9].*) | | 51 | .if !empty(CC_VERSION:Mgcc-4.[6-9].*) |
52 | CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 | | 52 | CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ |
53 | .endif | | 53 | .endif |
54 | | | 54 | |
55 | post-extract: | | 55 | post-extract: |
56 | ${CP} -p ${FILESDIR}/*.c ${WRKSRC} | | 56 | ${CP} -p ${FILESDIR}/*.c ${WRKSRC} |
57 | | | 57 | |
58 | # Usually the mdoc.local "volume-operating-system" definition is for | | 58 | # Usually the mdoc.local "volume-operating-system" definition is for |
59 | # the operating system name often displayed on top of man pages. And | | 59 | # the operating system name often displayed on top of man pages. And |
60 | # "operating-system" is for the default .Os value (operating system | | 60 | # "operating-system" is for the default .Os value (operating system |
61 | # and version/release) and is usually displayed at bottom of man page. | | 61 | # and version/release) and is usually displayed at bottom of man page. |
62 | # XXX Use "pkgsrc" as default .Os value. | | 62 | # XXX Use "pkgsrc" as default .Os value. |
63 | post-patch: | | 63 | post-patch: |
64 | ${SED} -e "s,@@VOLUME_OPERATING_SYSTEM@@,${OPSYS},g" \ | | 64 | ${SED} -e "s,@@VOLUME_OPERATING_SYSTEM@@,${OPSYS},g" \ |
65 | -e "s,@@OPERATING_SYSTEM@@,pkgsrc,g" \ | | 65 | -e "s,@@OPERATING_SYSTEM@@,pkgsrc,g" \ |