freebsd-ports/graphics/comical/files/patch-src_Makefile
Jason E. Hale bbe35d292d Move archivers/libunrar5 -> archivers/libunrar6 due to new major version.
Update renamed port to 6.0.3.

Bump PORTREVISION on consumers and adjust to use new port origin.
2021-01-19 19:51:31 +00:00

12 lines
457 B
Text

--- src/Makefile.orig 2006-03-05 03:27:10 UTC
+++ src/Makefile
@@ -1,6 +1,6 @@
-INCLUDE = -I../unrar -I../unzip
-CFLAGS = -O2 -Wall -pipe
-CPPFLAGS = `wx-config --cxxflags` $(CFLAGS) -D_UNIX $(INCLUDE)
+INCLUDE = -I${LOCALBASE}/include/libunrar6 -I${LOCALBASE}/include/minizip
+CFLAGS += -Wall -Wno-unused-local-typedef -pipe ${CXXFLAGS}
+CPPFLAGS += `${WX_CONFIG} --cxxflags` $(CFLAGS) -D_UNIX -DwxUSE_UNICODE $(INCLUDE)
.SUFFIXES: .cpp .png .h .d .o