freebsd-ports/graphics/comical/files/patch-src_Makefile
Jason E. Hale ffb41deafd - Use archivers/minizip from ports instead of bundled version
- Use archivers/libunrar5 instead of old archivers/libunrar
- Fix and install icons
- Add .desktop file
- Convert ugly REINPLACE_CMDs to patches
- Remove a bunch of useless warnings
2017-01-06 17:01:41 +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/libunrar5 -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