SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
39
textproc/mupdf/patches/patch-Makerules
Normal file
39
textproc/mupdf/patches/patch-Makerules
Normal file
|
@ -0,0 +1,39 @@
|
|||
Index: Makerules
|
||||
--- Makerules.orig
|
||||
+++ Makerules
|
||||
@@ -83,8 +83,8 @@ ifeq ($(build),debug)
|
||||
CFLAGS += -pipe -g
|
||||
LDFLAGS += -g
|
||||
else ifeq ($(build),release)
|
||||
- CFLAGS += -pipe -O2 -DNDEBUG -fomit-frame-pointer
|
||||
- LDFLAGS += $(LDREMOVEUNREACH) -Wl,-s
|
||||
+ CFLAGS += -DNDEBUG
|
||||
+ LDFLAGS += $(LDREMOVEUNREACH)
|
||||
else ifeq ($(build),small)
|
||||
CFLAGS += -pipe -Os -DNDEBUG -fomit-frame-pointer
|
||||
LDFLAGS += $(LDREMOVEUNREACH) -Wl,-s
|
||||
@@ -168,8 +168,8 @@ else ifeq ($(OS),MACOS)
|
||||
endif
|
||||
endif
|
||||
|
||||
-else ifeq ($(OS),Linux)
|
||||
- HAVE_OBJCOPY := yes
|
||||
+else
|
||||
+ HAVE_OBJCOPY ?= yes
|
||||
|
||||
ifeq ($(shell pkg-config --exists freetype2 && echo yes),yes)
|
||||
SYS_FREETYPE_CFLAGS := $(shell pkg-config --cflags freetype2)
|
||||
@@ -230,10 +230,10 @@ else ifeq ($(OS),Linux)
|
||||
X11_LIBS := $(shell pkg-config --libs x11 xext)
|
||||
endif
|
||||
|
||||
- HAVE_LIBCRYPTO := $(shell pkg-config --exists 'libcrypto >= 1.1.0' && echo yes)
|
||||
+ HAVE_LIBCRYPTO := yes
|
||||
ifeq ($(HAVE_LIBCRYPTO),yes)
|
||||
- LIBCRYPTO_CFLAGS := $(shell pkg-config --cflags libcrypto) -DHAVE_LIBCRYPTO
|
||||
- LIBCRYPTO_LIBS := $(shell pkg-config --libs libcrypto)
|
||||
+ LIBCRYPTO_CFLAGS := -DHAVE_LIBCRYPTO
|
||||
+ LIBCRYPTO_LIBS := -lcrypto
|
||||
endif
|
||||
|
||||
HAVE_PTHREAD := yes
|
Loading…
Add table
Add a link
Reference in a new issue