ports/sysutils/gdisk/files/patch-Makefile.freebsd
Po-Chuan Hsieh 68f3c2ea05
sysutils/gdisk: Update to 1.0.9
- Reformat pkg-descr
- Update WWW

Changes:	https://www.rodsbooks.com/gdisk/revisions.html
2022-04-18 07:58:04 +08:00

11 lines
475 B
Text

--- Makefile.freebsd.orig 2022-04-14 23:17:12 UTC
+++ Makefile.freebsd
@@ -1,6 +1,6 @@
-CXX=clang++
+CXX?=clang++
#CXXFLAGS+=-O2 -Wall -D_FILE_OFFSET_BITS=64 -D USE_UTF16 -I/usr/local/include
-CXXFLAGS+=-O2 -Wall -D_FILE_OFFSET_BITS=64 -I /usr/local/include
+CXXFLAGS+=-O2 -Wall -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
LDFLAGS+=-L/usr/local/lib
LDLIBS+=-luuid #-licuio
LIB_NAMES=crc32 support guid gptpart mbrpart basicmbr mbr gpt bsd parttypes attributes diskio diskio-unix