mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
no need to set the path for libzip anymore (#1390)
This commit is contained in:
committed by
waddlesplash
parent
8f26698e7a
commit
0ad379fe71
@@ -8,7 +8,7 @@ LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/dstosberg/odt2txt/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="23a889109ca9087a719c638758f14cc3b867a5dcf30a6c90bf6a0985073556dd"
|
||||
PATCHES="odt2txt-$portVersion.patch"
|
||||
PATCHES="odt2txt-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -54,6 +54,11 @@
|
||||
ifeq ($(UNAME_S),NetBSD)
|
||||
CFLAGS += -DICONV_CHAR="const char"
|
||||
endif
|
||||
+ifeq ($(UNAME_S),Haiku)
|
||||
+ # libzip installs headers to a non-standard dir on Haiku
|
||||
+ CFLAGS += $(shell pkg-config --cflags libzip)
|
||||
+ LIBS += -liconv
|
||||
+endif
|
||||
ifeq ($(UNAME_S),SunOS)
|
||||
ifeq ($(CC),cc)
|
||||
ifdef DEBUG
|
||||
23
app-text/odt2txt/patches/odt2txt-0.5.patchset
Normal file
23
app-text/odt2txt/patches/odt2txt-0.5.patchset
Normal file
@@ -0,0 +1,23 @@
|
||||
From 2480813b6cba0f418fbe2591af947702c2075f2d Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Sun, 4 Jun 2017 09:47:36 +0200
|
||||
Subject: add libiconv to LIBS
|
||||
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 3f8730a..fcfb7ba 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -54,6 +54,9 @@ endif
|
||||
ifeq ($(UNAME_S),NetBSD)
|
||||
CFLAGS += -DICONV_CHAR="const char"
|
||||
endif
|
||||
+ifeq ($(UNAME_S),Haiku)
|
||||
+ LIBS += -liconv
|
||||
+endif
|
||||
ifeq ($(UNAME_S),SunOS)
|
||||
ifeq ($(CC),cc)
|
||||
ifdef DEBUG
|
||||
--
|
||||
2.7.0
|
||||
|
||||
Reference in New Issue
Block a user