mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
progress: Update to 0.14
Switched to codeload for easier package bumping Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -1,18 +1,20 @@
|
||||
--- a/Makefile 2016-11-26 01:24:23.392903433 -0800
|
||||
+++ b/Makefile 2016-11-26 01:24:41.084939184 -0800
|
||||
@@ -1,19 +1,6 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,21 +1,7 @@
|
||||
OBJ = progress
|
||||
override CFLAGS += -g -Wall -D_FILE_OFFSET_BITS=64
|
||||
CFLAGS ?= -g
|
||||
override CFLAGS += -Wall -D_FILE_OFFSET_BITS=64
|
||||
-override LDFLAGS += -lm
|
||||
-UNAME := $(shell uname)
|
||||
-PKG_CONFIG ?= pkg-config
|
||||
-ifeq ($(UNAME), Linux)
|
||||
- ifeq (, $(shell which pkg-config 2> /dev/null))
|
||||
- ifeq (, $(shell which $(PKG_CONFIG) 2> /dev/null))
|
||||
- $(error "pkg-config command not found")
|
||||
- endif
|
||||
- ifeq (, $(shell pkg-config ncurses --libs 2> /dev/null))
|
||||
- ifeq (, $(shell $(PKG_CONFIG) ncurses --libs 2> /dev/null))
|
||||
- $(error "ncurses package not found")
|
||||
- endif
|
||||
- override LDFLAGS += $(shell pkg-config ncurses --libs)
|
||||
- override LDFLAGS += $(shell $(PKG_CONFIG) ncurses --libs)
|
||||
-endif
|
||||
-ifeq ($(UNAME), Darwin)
|
||||
- override LDFLAGS += -lncurses
|
||||
|
||||
Reference in New Issue
Block a user