update sysutils/mangl to 1.1.1
upstream now provides a proper configure scripts and an updated mandoc that matches the current snapshot (more or less) and that also builds only the needed compat_* files (i.e. none :-) ok bcallah@
This commit is contained in:
parent
061e9dc0fb
commit
90dabd1720
|
@ -3,7 +3,7 @@ CATEGORIES = sysutils x11
|
|||
|
||||
GH_ACCOUNT = zigalenarcic
|
||||
GH_PROJECT = mangl
|
||||
GH_TAGNAME = v1.1.0
|
||||
GH_TAGNAME = v1.1.1
|
||||
|
||||
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
|
||||
|
||||
|
@ -17,11 +17,10 @@ DEBUG_PACKAGES = ${BUILD_PACKAGES}
|
|||
LIB_DEPENDS = graphics/glfw
|
||||
|
||||
CONFIGURE_STYLE = simple
|
||||
CONFIGURE_SCRIPT = mandoc/configure
|
||||
|
||||
USE_GMAKE = Yes
|
||||
ALL_TARGET = mangl
|
||||
MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS} -std=c99 -I."
|
||||
MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS}"
|
||||
|
||||
NO_TEST = Yes
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (mangl-1.1.0.tar.gz) = E9rRU+JtJBuOy+Kh4yXz7VWcyYXCwaDAwn5n3jjNf7A=
|
||||
SIZE (mangl-1.1.0.tar.gz) = 1943498
|
||||
SHA256 (mangl-1.1.1.tar.gz) = ey781SXJu+NJ0s1wKs2wHVH3ujmdumMmbXlqqsenDz0=
|
||||
SIZE (mangl-1.1.1.tar.gz) = 1986094
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
Remove hardcoded optimization flags; add needed include and lib flags.
|
||||
Remove hardcoded optimization flags.
|
||||
|
||||
Index: Makefile
|
||||
--- Makefile.orig
|
||||
+++ Makefile
|
||||
@@ -1,5 +1,5 @@
|
||||
-CFLAGS = -g -O2 -Wall $(shell pkg-config --cflags zlib gl freetype2)
|
||||
-LDFLAGS = -lm -lglfw $(shell pkg-config --libs zlib gl freetype2)
|
||||
@@ -1,6 +1,6 @@
|
||||
include mandoc/Makefile.local
|
||||
|
||||
-CFLAGS = -g -O2 -Wall $(shell pkg-config --cflags zlib gl freetype2 glfw3)
|
||||
+CCFLAGS += -Wall $(shell pkg-config --cflags zlib gl freetype2 glfw3)
|
||||
+LDFLAGS += -lm -lutil $(shell pkg-config --libs zlib gl freetype2 glfw3)
|
||||
LDFLAGS = -lm $(shell pkg-config --libs zlib gl freetype2 glfw3) ${LDADD}
|
||||
|
||||
LIBMAN_OBJS = mandoc/man.o \
|
||||
mandoc/man_macro.o \
|
||||
@@ -69,7 +69,7 @@ MANGL_SOURCES = mandoc/tree.c \
|
||||
@@ -56,7 +56,7 @@ MANGL_SOURCES = mandoc/tree.c \
|
||||
main.c
|
||||
|
||||
mangl: $(COMPAT_OBJS) $(LIBMANDOC_OBJS) $(MANGL_SOURCES)
|
||||
|
|
Loading…
Reference in New Issue
Block a user