Use OPSYSVARS.diff -r1.226 -r1.227 pkgsrc/print/cups/Makefile
(jperkin)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.226 2016/02/07 11:29:30 leot Exp $ | 1 | # $NetBSD: Makefile,v 1.227 2016/02/25 17:52:45 jperkin Exp $ | |
2 | # | 2 | # | |
3 | # The CUPS author is very good about taking back changes into the main | 3 | # The CUPS author is very good about taking back changes into the main | |
4 | # CUPS distribution. The correct place to send patches or bug-fixes is: | 4 | # CUPS distribution. The correct place to send patches or bug-fixes is: | |
5 | # cups-bugs@cups.org. | 5 | # cups-bugs@cups.org. | |
6 | 6 | |||
7 | DISTNAME= cups-${DIST_VERS}-source | 7 | DISTNAME= cups-${DIST_VERS}-source | |
8 | PKGNAME= cups-${DIST_VERS:S/-/./g} | 8 | PKGNAME= cups-${DIST_VERS:S/-/./g} | |
9 | BASE_VERS= 2.1.3 | 9 | BASE_VERS= 2.1.3 | |
10 | DIST_VERS= ${BASE_VERS} | 10 | DIST_VERS= ${BASE_VERS} | |
11 | CATEGORIES= print | 11 | CATEGORIES= print | |
12 | MASTER_SITES= http://www.cups.org/software/${BASE_VERS}/ | 12 | MASTER_SITES= http://www.cups.org/software/${BASE_VERS}/ | |
13 | EXTRACT_SUFX= .tar.bz2 | 13 | EXTRACT_SUFX= .tar.bz2 | |
14 | 14 | |||
@@ -60,29 +60,27 @@ CONFIGURE_ENV+= LIBS_SSP=${LIBS_SSP:M*: | @@ -60,29 +60,27 @@ CONFIGURE_ENV+= LIBS_SSP=${LIBS_SSP:M*: | |||
60 | # Explicitly disable epoll on illumos, it is provided for Linux compat only. | 60 | # Explicitly disable epoll on illumos, it is provided for Linux compat only. | |
61 | CONFIGURE_ENV+= ac_cv_func_epoll_create=no | 61 | CONFIGURE_ENV+= ac_cv_func_epoll_create=no | |
62 | .endif | 62 | .endif | |
63 | LIBS+= ${BUILDLINK_LDADD.iconv} | 63 | LIBS+= ${BUILDLINK_LDADD.iconv} | |
64 | 64 | |||
65 | PLIST_VARS+= notmac | 65 | PLIST_VARS+= notmac | |
66 | .if ${OPSYS} != "Darwin" | 66 | .if ${OPSYS} != "Darwin" | |
67 | PLIST.notmac= yes | 67 | PLIST.notmac= yes | |
68 | .endif | 68 | .endif | |
69 | 69 | |||
70 | # Avoid the following error when compiling with clang. | 70 | # Avoid the following error when compiling with clang. | |
71 | # /usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against `_DYNAMIC' | 71 | # /usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against `_DYNAMIC' | |
72 | # can not be used when making a shared object; recompile with -fPIC | 72 | # can not be used when making a shared object; recompile with -fPIC | |
73 | .if ${OPSYS} == "FreeBSD" | 73 | BUILDLINK_TRANSFORM.FreeBSD+= rm:-Wl,-pie | |
74 | BUILDLINK_TRANSFORM+= rm:-Wl,-pie | |||
75 | .endif | |||
76 | 74 | |||
77 | # CUPS_USER user to run filter and CGI programs as | 75 | # CUPS_USER user to run filter and CGI programs as | |
78 | # CUPS_GROUP group to run filter and CGI programs as | 76 | # CUPS_GROUP group to run filter and CGI programs as | |
79 | # CUPS_SYSTEM_GROUPS group for system administration | 77 | # CUPS_SYSTEM_GROUPS group for system administration | |
80 | # | 78 | # | |
81 | CUPS_USER?= lp | 79 | CUPS_USER?= lp | |
82 | CUPS_GROUP?= lp | 80 | CUPS_GROUP?= lp | |
83 | CUPS_SYSTEM_GROUPS?= ${REAL_ROOT_GROUP} | 81 | CUPS_SYSTEM_GROUPS?= ${REAL_ROOT_GROUP} | |
84 | FILES_SUBST+= CUPS_USER=${CUPS_USER} | 82 | FILES_SUBST+= CUPS_USER=${CUPS_USER} | |
85 | FILES_SUBST+= CUPS_GROUP=${CUPS_GROUP} | 83 | FILES_SUBST+= CUPS_GROUP=${CUPS_GROUP} | |
86 | FILES_SUBST+= CUPS_SYSTEM_GROUPS=${CUPS_SYSTEM_GROUPS:Q} | 84 | FILES_SUBST+= CUPS_SYSTEM_GROUPS=${CUPS_SYSTEM_GROUPS:Q} | |
87 | 85 | |||
88 | PKG_GROUPS_VARS+= CUPS_GROUP CUPS_SYSTEM_GROUPS | 86 | PKG_GROUPS_VARS+= CUPS_GROUP CUPS_SYSTEM_GROUPS |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.9 2015/10/10 17:05:17 richard Exp $ | 1 | # $NetBSD: Makefile,v 1.10 2016/02/25 17:52:45 jperkin Exp $ | |
2 | # | 2 | # | |
3 | # The CUPS author is very good about taking back changes into the main | 3 | # The CUPS author is very good about taking back changes into the main | |
4 | # CUPS distribution. The correct place to send patches or bug-fixes is: | 4 | # CUPS distribution. The correct place to send patches or bug-fixes is: | |
5 | # cups-bugs@cups.org. | 5 | # cups-bugs@cups.org. | |
6 | 6 | |||
7 | DISTNAME= cups-${DIST_VERS}-source | 7 | DISTNAME= cups-${DIST_VERS}-source | |
8 | PKGNAME= cups-${DIST_VERS:S/-/./g} | 8 | PKGNAME= cups-${DIST_VERS:S/-/./g} | |
9 | BASE_VERS= 1.5.4 | 9 | BASE_VERS= 1.5.4 | |
10 | DIST_VERS= ${BASE_VERS} | 10 | DIST_VERS= ${BASE_VERS} | |
11 | PKGREVISION= 14 | 11 | PKGREVISION= 14 | |
12 | 12 | |||
13 | # Fix for https://www.cups.org/str.php?L4609 | 13 | # Fix for https://www.cups.org/str.php?L4609 | |
14 | PATCH_SITES= http://www.cups.org/strfiles.php/3482/ | 14 | PATCH_SITES= http://www.cups.org/strfiles.php/3482/ | |
@@ -80,29 +80,27 @@ CONFIGURE_ENV+= ac_cv_func_epoll_create | @@ -80,29 +80,27 @@ CONFIGURE_ENV+= ac_cv_func_epoll_create | |||
80 | .endif | 80 | .endif | |
81 | LIBS+= ${BUILDLINK_LDADD.iconv} | 81 | LIBS+= ${BUILDLINK_LDADD.iconv} | |
82 | 82 | |||
83 | PLIST_VARS+= mac notmac | 83 | PLIST_VARS+= mac notmac | |
84 | .if ${OPSYS} == "Darwin" | 84 | .if ${OPSYS} == "Darwin" | |
85 | PLIST.mac= yes | 85 | PLIST.mac= yes | |
86 | .else | 86 | .else | |
87 | PLIST.notmac= yes | 87 | PLIST.notmac= yes | |
88 | .endif | 88 | .endif | |
89 | 89 | |||
90 | # Avoid the following error when compiling with clang. | 90 | # Avoid the following error when compiling with clang. | |
91 | # /usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against `_DYNAMIC' | 91 | # /usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against `_DYNAMIC' | |
92 | # can not be used when making a shared object; recompile with -fPIC | 92 | # can not be used when making a shared object; recompile with -fPIC | |
93 | .if ${OPSYS} == "FreeBSD" | 93 | BUILDLINK_TRANSFORM.FreeBSD+= rm:-Wl,-pie | |
94 | BUILDLINK_TRANSFORM+= rm:-Wl,-pie | |||
95 | .endif | |||
96 | 94 | |||
97 | # CUPS_USER user to run filter and CGI programs as | 95 | # CUPS_USER user to run filter and CGI programs as | |
98 | # CUPS_GROUP group to run filter and CGI programs as | 96 | # CUPS_GROUP group to run filter and CGI programs as | |
99 | # CUPS_SYSTEM_GROUPS group for system administration | 97 | # CUPS_SYSTEM_GROUPS group for system administration | |
100 | # | 98 | # | |
101 | CUPS_USER?= lp | 99 | CUPS_USER?= lp | |
102 | CUPS_GROUP?= lp | 100 | CUPS_GROUP?= lp | |
103 | CUPS_SYSTEM_GROUPS?= ${REAL_ROOT_GROUP} | 101 | CUPS_SYSTEM_GROUPS?= ${REAL_ROOT_GROUP} | |
104 | FILES_SUBST+= CUPS_USER=${CUPS_USER} | 102 | FILES_SUBST+= CUPS_USER=${CUPS_USER} | |
105 | FILES_SUBST+= CUPS_GROUP=${CUPS_GROUP} | 103 | FILES_SUBST+= CUPS_GROUP=${CUPS_GROUP} | |
106 | FILES_SUBST+= CUPS_SYSTEM_GROUPS=${CUPS_SYSTEM_GROUPS:Q} | 104 | FILES_SUBST+= CUPS_SYSTEM_GROUPS=${CUPS_SYSTEM_GROUPS:Q} | |
107 | 105 | |||
108 | PKG_GROUPS_VARS+= CUPS_GROUP CUPS_SYSTEM_GROUPS | 106 | PKG_GROUPS_VARS+= CUPS_GROUP CUPS_SYSTEM_GROUPS |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.17 2015/12/10 11:58:58 markd Exp $ | 1 | # $NetBSD: Makefile,v 1.18 2016/02/25 17:52:45 jperkin Exp $ | |
2 | 2 | |||
3 | DISTNAME= ghostscript-${GS_VERSION} | 3 | DISTNAME= ghostscript-${GS_VERSION} | |
4 | PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-agpl/} | 4 | PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-agpl/} | |
5 | PKGREVISION= 1 | 5 | PKGREVISION= 1 | |
6 | CATEGORIES= print | 6 | CATEGORIES= print | |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ghostscript/} \ | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ghostscript/} \ | |
8 | http://downloads.ghostscript.com/public/ | 8 | http://downloads.ghostscript.com/public/ | |
9 | EXTRACT_SUFX= .tar.bz2 | 9 | EXTRACT_SUFX= .tar.bz2 | |
10 | 10 | |||
11 | MAINTAINER= pkgsrc-users@NetBSD.org | 11 | MAINTAINER= pkgsrc-users@NetBSD.org | |
12 | HOMEPAGE= http://ghostscript.sourceforge.net/ | 12 | HOMEPAGE= http://ghostscript.sourceforge.net/ | |
13 | COMMENT= Postscript interpreter | 13 | COMMENT= Postscript interpreter | |
14 | 14 | |||
@@ -55,42 +55,38 @@ CPPFLAGS+= -Ijpeg | @@ -55,42 +55,38 @@ CPPFLAGS+= -Ijpeg | |||
55 | 55 | |||
56 | .if defined(PAPERSIZE) && (${PAPERSIZE} == "A4" || ${PAPERSIZE} == "a4") | 56 | .if defined(PAPERSIZE) && (${PAPERSIZE} == "A4" || ${PAPERSIZE} == "a4") | |
57 | CFLAGS+= -DA4 | 57 | CFLAGS+= -DA4 | |
58 | .endif | 58 | .endif | |
59 | 59 | |||
60 | REQD_DIRS+= share/ghostscript | 60 | REQD_DIRS+= share/ghostscript | |
61 | 61 | |||
62 | SUBST_CLASSES+= resdir | 62 | SUBST_CLASSES+= resdir | |
63 | SUBST_STAGE.resdir= post-extract | 63 | SUBST_STAGE.resdir= post-extract | |
64 | SUBST_MESSAGE.resdir= Fixing resource directory path | 64 | SUBST_MESSAGE.resdir= Fixing resource directory path | |
65 | SUBST_FILES.resdir= Resource/Init/gs_res.ps | 65 | SUBST_FILES.resdir= Resource/Init/gs_res.ps | |
66 | SUBST_SED.resdir= -e "s|/Resource/|${GS_RESOURCEDIR}/|g" | 66 | SUBST_SED.resdir= -e "s|/Resource/|${GS_RESOURCEDIR}/|g" | |
67 | 67 | |||
68 | .if ${OPSYS} == "HPUX" | 68 | CONFIGURE_ENV.HPUX+= ac_cv_func_fopen64=no | |
69 | CONFIGURE_ENV+= ac_cv_func_fopen64=no | |||
70 | .endif | |||
71 | 69 | |||
72 | # On Linux-*-x86_64, there was an error message: | 70 | # On Linux-*-x86_64, there was an error message: | |
73 | # gp_unix.o: relocation R_X86_64_32 against `a local symbol' can not be | 71 | # gp_unix.o: relocation R_X86_64_32 against `a local symbol' can not be | |
74 | # used when making a shared object; recompile with -fPIC | 72 | # used when making a shared object; recompile with -fPIC | |
75 | .if !empty(PKGSRC_COMPILER:Mgcc) || !empty(PKGSRC_COMPILER:Mclang) | 73 | .if !empty(PKGSRC_COMPILER:Mgcc) || !empty(PKGSRC_COMPILER:Mclang) | |
76 | CFLAGS+= -fPIC | 74 | CFLAGS+= -fPIC | |
77 | .endif | 75 | .endif | |
78 | 76 | |||
79 | # Interim IRIX build fix, the real problem is that fontconfig.pc doesn't | 77 | # Interim IRIX build fix, the real problem is that fontconfig.pc doesn't | |
80 | # require linking against libiconv when it should do so. | 78 | # require linking against libiconv when it should do so. | |
81 | .if ${OPSYS} == "IRIX" | 79 | BUILDLINK_TRANSFORM.IRIX+= l:fontconfig:fontconfig:iconv | |
82 | BUILDLINK_TRANSFORM+= l:fontconfig:fontconfig:iconv | |||
83 | .endif | |||
84 | 80 | |||
85 | CONFIGURE_ENV+= LPLIBDIR=${PREFIX}/lib | 81 | CONFIGURE_ENV+= LPLIBDIR=${PREFIX}/lib | |
86 | 82 | |||
87 | .include "options.mk" | 83 | .include "options.mk" | |
88 | 84 | |||
89 | post-extract: | 85 | post-extract: | |
90 | ${MKDIR} ${WRKSRC}/bin | 86 | ${MKDIR} ${WRKSRC}/bin | |
91 | ${MKDIR} ${WRKSRC}/obj | 87 | ${MKDIR} ${WRKSRC}/obj | |
92 | ${RM} -rf ${WRKSRC}/freetype | 88 | ${RM} -rf ${WRKSRC}/freetype | |
93 | ${RM} -rf ${WRKSRC}/jbig2dec | 89 | ${RM} -rf ${WRKSRC}/jbig2dec | |
94 | ${RM} -rf ${WRKSRC}/jpeg | 90 | ${RM} -rf ${WRKSRC}/jpeg | |
95 | ${RM} -rf ${WRKSRC}/lcms2 | 91 | ${RM} -rf ${WRKSRC}/lcms2 | |
96 | ${RM} -rf ${WRKSRC}/libpng | 92 | ${RM} -rf ${WRKSRC}/libpng |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.19 2015/09/23 08:25:09 he Exp $ | 1 | # $NetBSD: Makefile,v 1.20 2016/02/25 17:52:45 jperkin Exp $ | |
2 | 2 | |||
3 | DISTNAME= ghostscript-${GS_VERSION} | 3 | DISTNAME= ghostscript-${GS_VERSION} | |
4 | PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-gpl/} | 4 | PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-gpl/} | |
5 | PKGREVISION= 7 | 5 | PKGREVISION= 7 | |
6 | CATEGORIES= print | 6 | CATEGORIES= print | |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ghostscript/} | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ghostscript/} | |
8 | MASTER_SITES+= http://ghostscript.com/releases/ | 8 | MASTER_SITES+= http://ghostscript.com/releases/ | |
9 | EXTRACT_SUFX= .tar.bz2 | 9 | EXTRACT_SUFX= .tar.bz2 | |
10 | 10 | |||
11 | MAINTAINER= pkgsrc-users@NetBSD.org | 11 | MAINTAINER= pkgsrc-users@NetBSD.org | |
12 | HOMEPAGE= http://ghostscript.sourceforge.net/ | 12 | HOMEPAGE= http://ghostscript.sourceforge.net/ | |
13 | COMMENT= Postscript interpreter | 13 | COMMENT= Postscript interpreter | |
14 | 14 | |||
@@ -56,42 +56,38 @@ CPPFLAGS+= -Ijpeg | @@ -56,42 +56,38 @@ CPPFLAGS+= -Ijpeg | |||
56 | 56 | |||
57 | .if defined(PAPERSIZE) && (${PAPERSIZE} == "A4" || ${PAPERSIZE} == "a4") | 57 | .if defined(PAPERSIZE) && (${PAPERSIZE} == "A4" || ${PAPERSIZE} == "a4") | |
58 | CFLAGS+= -DA4 | 58 | CFLAGS+= -DA4 | |
59 | .endif | 59 | .endif | |
60 | 60 | |||
61 | REQD_DIRS+= share/ghostscript | 61 | REQD_DIRS+= share/ghostscript | |
62 | 62 | |||
63 | SUBST_CLASSES+= resdir | 63 | SUBST_CLASSES+= resdir | |
64 | SUBST_STAGE.resdir= post-extract | 64 | SUBST_STAGE.resdir= post-extract | |
65 | SUBST_MESSAGE.resdir= Fixing resource directory path | 65 | SUBST_MESSAGE.resdir= Fixing resource directory path | |
66 | SUBST_FILES.resdir= Resource/Init/gs_res.ps | 66 | SUBST_FILES.resdir= Resource/Init/gs_res.ps | |
67 | SUBST_SED.resdir= -e "s|/Resource/|${GS_RESOURCEDIR}/|g" | 67 | SUBST_SED.resdir= -e "s|/Resource/|${GS_RESOURCEDIR}/|g" | |
68 | 68 | |||
69 | .if ${OPSYS} == "HPUX" | 69 | CONFIGURE_ENV.HPUX+= ac_cv_func_fopen64=no | |
70 | CONFIGURE_ENV+= ac_cv_func_fopen64=no | |||
71 | .endif | |||
72 | 70 | |||
73 | # On Linux-*-x86_64, there was an error message: | 71 | # On Linux-*-x86_64, there was an error message: | |
74 | # gp_unix.o: relocation R_X86_64_32 against `a local symbol' can not be | 72 | # gp_unix.o: relocation R_X86_64_32 against `a local symbol' can not be | |
75 | # used when making a shared object; recompile with -fPIC | 73 | # used when making a shared object; recompile with -fPIC | |
76 | .if !empty(PKGSRC_COMPILER:Mgcc) || !empty(PKGSRC_COMPILER:Mclang) | 74 | .if !empty(PKGSRC_COMPILER:Mgcc) || !empty(PKGSRC_COMPILER:Mclang) | |
77 | CFLAGS+= -fPIC | 75 | CFLAGS+= -fPIC | |
78 | .endif | 76 | .endif | |
79 | 77 | |||
80 | # Interim IRIX build fix, the real problem is that fontconfig.pc doesn't | 78 | # Interim IRIX build fix, the real problem is that fontconfig.pc doesn't | |
81 | # require linking against libiconv when it should do so. | 79 | # require linking against libiconv when it should do so. | |
82 | .if ${OPSYS} == "IRIX" | 80 | BUILDLINK_TRANSFORM.IRIX+= l:fontconfig:fontconfig:iconv | |
83 | BUILDLINK_TRANSFORM+= l:fontconfig:fontconfig:iconv | |||
84 | .endif | |||
85 | 81 | |||
86 | CONFIGURE_ENV+= LPLIBDIR=${PREFIX}/lib | 82 | CONFIGURE_ENV+= LPLIBDIR=${PREFIX}/lib | |
87 | 83 | |||
88 | # On OpenBSD 5.3, libxcb is required libXt. | 84 | # On OpenBSD 5.3, libxcb is required libXt. | |
89 | LDFLAGS.OpenBSD+= -lxcb | 85 | LDFLAGS.OpenBSD+= -lxcb | |
90 | 86 | |||
91 | .if ${OS_VARIANT} == "SCOOSR5" | 87 | .if ${OS_VARIANT} == "SCOOSR5" | |
92 | # SCO OpenServer 5.0.7/3.2 has windows.h, and configure expacts it for MS Windows. | 88 | # SCO OpenServer 5.0.7/3.2 has windows.h, and configure expacts it for MS Windows. | |
93 | CONFIGURE_ENV+= ac_cv_header_windows_h=no | 89 | CONFIGURE_ENV+= ac_cv_header_windows_h=no | |
94 | .endif | 90 | .endif | |
95 | 91 | |||
96 | .include "options.mk" | 92 | .include "options.mk" | |
97 | 93 |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.97 2015/04/25 14:24:46 tnn Exp $ | 1 | # $NetBSD: Makefile,v 1.98 2016/02/25 17:52:45 jperkin Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= libgnomeprint-2.18.8 | 4 | DISTNAME= libgnomeprint-2.18.8 | |
5 | PKGREVISION= 22 | 5 | PKGREVISION= 22 | |
6 | CATEGORIES= print gnome | 6 | CATEGORIES= print gnome | |
7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgnomeprint/2.18/} | 7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgnomeprint/2.18/} | |
8 | EXTRACT_SUFX= .tar.bz2 | 8 | EXTRACT_SUFX= .tar.bz2 | |
9 | 9 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 10 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= http://www.levien.com/gnome/print-arch.html | 11 | HOMEPAGE= http://www.levien.com/gnome/print-arch.html | |
12 | COMMENT= Library for the GNOME2 Printing Architecture | 12 | COMMENT= Library for the GNOME2 Printing Architecture | |
13 | 13 | |||
14 | USE_TOOLS+= bison flex gmake intltool msgfmt pkg-config | 14 | USE_TOOLS+= bison flex gmake intltool msgfmt pkg-config | |
@@ -27,32 +27,28 @@ PKG_SUPPORTED_OPTIONS= cups | @@ -27,32 +27,28 @@ PKG_SUPPORTED_OPTIONS= cups | |||
27 | .include "../../mk/bsd.options.mk" | 27 | .include "../../mk/bsd.options.mk" | |
28 | 28 | |||
29 | PLIST_VARS+= cups | 29 | PLIST_VARS+= cups | |
30 | .if !empty(PKG_OPTIONS:Mcups) | 30 | .if !empty(PKG_OPTIONS:Mcups) | |
31 | .include "../../print/libgnomecups/buildlink3.mk" | 31 | .include "../../print/libgnomecups/buildlink3.mk" | |
32 | CONFIGURE_ARGS+= --with-cups | 32 | CONFIGURE_ARGS+= --with-cups | |
33 | PLIST.cups= yes | 33 | PLIST.cups= yes | |
34 | .else | 34 | .else | |
35 | CONFIGURE_ARGS+= --without-cups | 35 | CONFIGURE_ARGS+= --without-cups | |
36 | .endif | 36 | .endif | |
37 | 37 | |||
38 | CONFIGURE_ARGS+= --without-papi | 38 | CONFIGURE_ARGS+= --without-papi | |
39 | 39 | |||
40 | .include "../../mk/bsd.prefs.mk" | |||
41 | ||||
42 | .if ${OPSYS} == "Darwin" | |||
43 | # AC_LTDL_SHLIBEXT doesn't work on Darwin (and would give the wrong | 40 | # AC_LTDL_SHLIBEXT doesn't work on Darwin (and would give the wrong | |
44 | # answer here even if it did). | 41 | # answer here even if it did). | |
45 | CONFIGURE_ENV+= libltdl_cv_shlibext=so | 42 | CONFIGURE_ENV.Darwin+= libltdl_cv_shlibext=so | |
46 | .endif | |||
47 | 43 | |||
48 | PRINT_PLIST_AWK+= /cups/ { print "$${USE_CUPS}" $$0; next; } | 44 | PRINT_PLIST_AWK+= /cups/ { print "$${USE_CUPS}" $$0; next; } | |
49 | 45 | |||
50 | .include "../../devel/gettext-lib/buildlink3.mk" | 46 | .include "../../devel/gettext-lib/buildlink3.mk" | |
51 | .include "../../devel/glib2/buildlink3.mk" | 47 | .include "../../devel/glib2/buildlink3.mk" | |
52 | .include "../../devel/libbonobo/buildlink3.mk" | 48 | .include "../../devel/libbonobo/buildlink3.mk" | |
53 | .include "../../devel/pango/buildlink3.mk" | 49 | .include "../../devel/pango/buildlink3.mk" | |
54 | .include "../../fonts/fontconfig/buildlink3.mk" | 50 | .include "../../fonts/fontconfig/buildlink3.mk" | |
55 | .include "../../graphics/freetype2/buildlink3.mk" | 51 | .include "../../graphics/freetype2/buildlink3.mk" | |
56 | .include "../../graphics/libart/buildlink3.mk" | 52 | .include "../../graphics/libart/buildlink3.mk" | |
57 | .include "../../textproc/libxml2/buildlink3.mk" | 53 | .include "../../textproc/libxml2/buildlink3.mk" | |
58 | .include "../../mk/bsd.pkg.mk" | 54 | .include "../../mk/bsd.pkg.mk" |
@@ -1,30 +1,26 @@ | @@ -1,30 +1,26 @@ | |||
1 | # $NetBSD: Makefile,v 1.18 2012/10/08 13:45:42 asau Exp $ | 1 | # $NetBSD: Makefile,v 1.19 2016/02/25 17:52:45 jperkin Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= mpdist-3.7.1 | 4 | DISTNAME= mpdist-3.7.1 | |
5 | PKGNAME= mp-3.7.1 | 5 | PKGNAME= mp-3.7.1 | |
6 | PKGREVISION= 4 | 6 | PKGREVISION= 4 | |
7 | CATEGORIES= print | 7 | CATEGORIES= print | |
8 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpdist/} | 8 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpdist/} | |
9 | 9 | |||
10 | MAINTAINER= kim@tac.nyc.ny.us | 10 | MAINTAINER= kim@tac.nyc.ny.us | |
11 | HOMEPAGE= http://mpdist.sourceforge.net/ | 11 | HOMEPAGE= http://mpdist.sourceforge.net/ | |
12 | COMMENT= PostScript pretty printer | 12 | COMMENT= PostScript pretty printer | |
13 | 13 | |||
14 | GNU_CONFIGURE= yes | 14 | GNU_CONFIGURE= yes | |
15 | USE_LIBTOOL= yes | 15 | USE_LIBTOOL= yes | |
16 | 16 | |||
17 | .include "../../mk/bsd.prefs.mk" | 17 | CONFIGURE_ARGS.SunOS+= # empty | |
18 | 18 | CONFIGURE_ARGS.*+= --enable-bsd-print | ||
19 | .if ${OPSYS} == "SunOS" | |||
20 | .else | |||
21 | CONFIGURE_ARGS+=--enable-bsd-print | |||
22 | .endif | |||
23 | 19 | |||
24 | BUILDLINK_DEPMETHOD.libXt?= build | 20 | BUILDLINK_DEPMETHOD.libXt?= build | |
25 | 21 | |||
26 | .include "../../x11/gtk/buildlink3.mk" | 22 | .include "../../x11/gtk/buildlink3.mk" | |
27 | .include "../../x11/libSM/buildlink3.mk" | 23 | .include "../../x11/libSM/buildlink3.mk" | |
28 | .include "../../x11/libX11/buildlink3.mk" | 24 | .include "../../x11/libX11/buildlink3.mk" | |
29 | .include "../../x11/libXt/buildlink3.mk" | 25 | .include "../../x11/libXt/buildlink3.mk" | |
30 | .include "../../mk/bsd.pkg.mk" | 26 | .include "../../mk/bsd.pkg.mk" |
@@ -1,25 +1,21 @@ | @@ -1,25 +1,21 @@ | |||
1 | # $NetBSD: Makefile,v 1.15 2012/10/08 13:45:46 asau Exp $ | 1 | # $NetBSD: Makefile,v 1.16 2016/02/25 17:52:45 jperkin Exp $ | |
2 | 2 | |||
3 | DISTNAME= rtf2LaTeX.1.5 | 3 | DISTNAME= rtf2LaTeX.1.5 | |
4 | PKGNAME= rtf2latex-1.5 | 4 | PKGNAME= rtf2latex-1.5 | |
5 | CATEGORIES= print | 5 | CATEGORIES= print | |
6 | MASTER_SITES= ftp://ftp.dante.de/pub/tex/support/rtf2latex/ | 6 | MASTER_SITES= ftp://ftp.dante.de/pub/tex/support/rtf2latex/ | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | COMMENT= Filter that converts RTF (MS's Rich Text Format) into LaTeX | 9 | COMMENT= Filter that converts RTF (MS's Rich Text Format) into LaTeX | |
10 | 10 | |||
11 | WRKSRC= ${WRKDIR}/rtf2LaTeX | 11 | WRKSRC= ${WRKDIR}/rtf2LaTeX | |
12 | NO_CONFIGURE= yes | 12 | NO_CONFIGURE= yes | |
13 | 13 | |||
14 | post-extract: | 14 | post-extract: | |
15 | ${LN} -fs ${FILESDIR}/Makefile ${WRKSRC} | 15 | ${LN} -fs ${FILESDIR}/Makefile ${WRKSRC} | |
16 | 16 | |||
17 | .include "../../mk/bsd.prefs.mk" | 17 | MAKE_ENV.SunOS+= XCFLAGS="${CPPFLAGS} -DSYSV" CC=${CC:Q} | |
18 | ||||
19 | .if ${OPSYS} == "SunOS" | |||
20 | MAKE_ENV+= XCFLAGS="${CPPFLAGS} -DSYSV" CC=${CC:Q} | |||
21 | .endif | |||
22 | 18 | |||
23 | INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 | 19 | INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 | |
24 | 20 | |||
25 | .include "../../mk/bsd.pkg.mk" | 21 | .include "../../mk/bsd.pkg.mk" |