Drop librt chunk.

ok sthen@ (maintainer)
This commit is contained in:
ajacoutot 2014-03-18 12:26:08 +00:00
parent d28701d744
commit 4ed1191e06
2 changed files with 6 additions and 14 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.45 2014/02/15 22:42:07 sthen Exp $
# $OpenBSD: Makefile,v 1.46 2014/03/18 12:26:08 ajacoutot Exp $
COMMENT = graphic library, pdf parser, viewer and utilities
V = 1.3
DISTNAME = mupdf-$V-source
PKGNAME = mupdf-${V:S/-rc/rc/}
REVISION = 1
REVISION = 2
CATEGORIES = textproc x11

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Makerules,v 1.8 2013/10/29 22:08:59 sthen Exp $
--- Makerules.orig Wed Aug 14 13:41:20 2013
+++ Makerules Tue Oct 29 21:29:54 2013
$OpenBSD: patch-Makerules,v 1.9 2014/03/18 12:26:08 ajacoutot Exp $
--- Makerules.orig Wed Aug 14 14:41:20 2013
+++ Makerules Tue Mar 18 12:39:27 2014
@@ -6,6 +6,7 @@ OS := $(OS:Windows_NT=MINGW)
CFLAGS += -Wall
@ -17,15 +17,7 @@ $OpenBSD: patch-Makerules,v 1.8 2013/10/29 22:08:59 sthen Exp $
# Windows (MINGW) build doesn't use system libraries.
ifeq "$(OS)" "MINGW"
@@ -55,15 +57,15 @@ SYS_OPENSSL_CFLAGS = -DHAVE_OPENSSL $(shell pkg-config
SYS_OPENSSL_LIBS = $(shell pkg-config --libs libcrypto)
endif
-SYS_CURL_DEPS = -lpthread -lrt
+SYS_CURL_DEPS = $(shell pkg-config --libs libcurl)
SYS_X11_CFLAGS = $(shell pkg-config --cflags x11 xext)
SYS_X11_LIBS = $(shell pkg-config --libs x11 xext)
@@ -62,8 +64,8 @@ SYS_X11_LIBS = $(shell pkg-config --libs x11 xext)
SYS_FREETYPE_CFLAGS = $(shell pkg-config --cflags freetype2)
SYS_FREETYPE_LIBS = $(shell pkg-config --libs freetype2)