diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-02-25 17:52:45 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-02-25 17:52:45 +0000 |
commit | 456f9b2f272510dc53491a4a0b7c47aa98b90eea (patch) | |
tree | 395d45f3c26c1267735eaae9900be3c4c9a7d264 /print/ghostscript-gpl | |
parent | 1fb8f47db674df4373f1c77d343fec4fa366a226 (diff) | |
download | pkgsrc-456f9b2f272510dc53491a4a0b7c47aa98b90eea.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'print/ghostscript-gpl')
-rw-r--r-- | print/ghostscript-gpl/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile index aab56d7ba0a..7791fb4b53c 100644 --- a/print/ghostscript-gpl/Makefile +++ b/print/ghostscript-gpl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2015/09/23 08:25:09 he Exp $ +# $NetBSD: Makefile,v 1.20 2016/02/25 17:52:45 jperkin Exp $ DISTNAME= ghostscript-${GS_VERSION} PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-gpl/} @@ -66,9 +66,7 @@ SUBST_MESSAGE.resdir= Fixing resource directory path SUBST_FILES.resdir= Resource/Init/gs_res.ps SUBST_SED.resdir= -e "s|/Resource/|${GS_RESOURCEDIR}/|g" -.if ${OPSYS} == "HPUX" -CONFIGURE_ENV+= ac_cv_func_fopen64=no -.endif +CONFIGURE_ENV.HPUX+= ac_cv_func_fopen64=no # On Linux-*-x86_64, there was an error message: # gp_unix.o: relocation R_X86_64_32 against `a local symbol' can not be @@ -79,9 +77,7 @@ CFLAGS+= -fPIC # Interim IRIX build fix, the real problem is that fontconfig.pc doesn't # require linking against libiconv when it should do so. -.if ${OPSYS} == "IRIX" -BUILDLINK_TRANSFORM+= l:fontconfig:fontconfig:iconv -.endif +BUILDLINK_TRANSFORM.IRIX+= l:fontconfig:fontconfig:iconv CONFIGURE_ENV+= LPLIBDIR=${PREFIX}/lib |