integ/base/netpbm/centos/patches/remove-pstopnm.patch
zhipengl a4684bffbc upgrade netpbm to CentOS 7.5 version
Story: 2003389
Task: 24496

Change-Id: Ie06781c8e34576379df5003f451d1a9cec6f34f5
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2018-08-27 07:20:04 +00:00

38 lines
1.0 KiB
Diff

From ba7b88e20f58d1d549bf7eec2e7fc2fa2a229362 Mon Sep 17 00:00:00 2001
From: zhipengl <zhipengs.liu@intel.com>
Date: Wed, 22 Aug 2018 00:50:54 +0800
Subject: remove-pstopnm.patch
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
---
converter/other/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/converter/other/Makefile b/converter/other/Makefile
index b01f66a..6e9c84f 100644
--- a/converter/other/Makefile
+++ b/converter/other/Makefile
@@ -7,6 +7,7 @@ VPATH=.:$(SRCDIR)/$(SUBDIR)
include $(BUILDDIR)/config.mk
+USE_GHOSTSCRIPT=N
TEST_PKGCONFIG_LIBXML2 = if $(PKG_CONFIG) libxml-2.0; then echo exists; fi
ifneq ($(shell $(TEST_PKGCONFIG_LIBXML2)),)
@@ -126,9 +127,11 @@ PORTBINARIES = avstopam bmptopnm fitstopnm \
rasttopnm rlatopam sgitopnm sirtopnm srftopam sunicontopnm \
winicontopam xwdtopnm yuy2topam zeisstopnm
+ifneq ($(USE_GHOSTSCRIPT),N)
ifneq ($(DONT_HAVE_PROCESS_MGMT),Y)
PORTBINARIES += pstopnm pnmtops
endif
+endif
ifeq ($(HAVE_PNGLIB),Y)
PORTBINARIES += pamtopng pnmtopng pngtopam
--
2.7.4