openbsd-ports/print/ghostscript/gnu/patches/patch-src_jasper_mak
kili cbb706a50f Fix the build of the gtk flavor on amd64.
Tested by steven@, who also found the problem.
2008-05-09 19:29:44 +00:00

13 lines
482 B
Plaintext

$OpenBSD: patch-src_jasper_mak,v 1.4 2008/05/09 19:29:44 kili Exp $
--- src/jasper.mak.orig Thu Oct 18 02:36:37 2007
+++ src/jasper.mak Sat Apr 26 14:03:43 2008
@@ -159,7 +159,7 @@ JAS_EXCF_=\
$(D_)EXCLUDE_PNG_SUPPORT$(_D_)1$(_D)
# define our specific compiler
-JAS_CC=$(CC_) $(I_)$(JASGEN) $(II)$(JPXI_)$(_I) $(JPXCF_) $(JAS_EXCF_)
+JAS_CC=$(CC) $(I_)$(JASGEN) $(II)$(JPXI_)$(_I) $(JPXCF_) $(CCFLAGS) $(JAS_EXCF_)
JASO_=$(O_)$(JASOBJ)
# switch in the selected .dev