Skip to content

Commit

Permalink
gptfdisk: Deduplicate include directory
Browse files Browse the repository at this point in the history
No need to include the same directory three times.
  • Loading branch information
ryandesign committed Jun 4, 2018
1 parent 97372ea commit b48c9b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sysutils/gptfdisk/files/patch-Makefile.mac.diff
@@ -1,5 +1,5 @@
--- Makefile.mac.orig 2017-08-07 13:33:46.000000000 +0300
+++ Makefile.mac 2017-08-07 18:09:48.000000000 +0300
--- Makefile.mac.orig 2017-07-27 20:41:20.000000000 -0500
+++ Makefile.mac 2018-05-31 21:57:18.000000000 -0500
@@ -1,9 +1,9 @@
+prefix=__PREFIX__
CC=gcc
Expand All @@ -9,7 +9,7 @@
CFLAGS=$(FATBINFLAGS) -O2 -D_FILE_OFFSET_BITS=64 -g
-#CXXFLAGS=-O2 -Wall -D_FILE_OFFSET_BITS=64 -D USE_UTF16 -I/opt/local/include -I/usr/local/include -I/opt/local/include -g
-CXXFLAGS=$(FATBINFLAGS) -O2 -Wall -D_FILE_OFFSET_BITS=64 -I/opt/local/include -I /usr/local/include -I/opt/local/include -g
+CXXFLAGS=$(FATBINFLAGS) -O2 -Wall -D_FILE_OFFSET_BITS=64 -I$(prefix)/include -I $(prefix)/include -I$(prefix)/include -g
+CXXFLAGS=$(FATBINFLAGS) -O2 -Wall -D_FILE_OFFSET_BITS=64 -I$(prefix)/include -g
LIB_NAMES=crc32 support guid gptpart mbrpart basicmbr mbr gpt bsd parttypes attributes diskio diskio-unix
MBR_LIBS=support diskio diskio-unix basicmbr mbrpart
#LIB_SRCS=$(NAMES:=.cc)
Expand Down

0 comments on commit b48c9b0

Please sign in to comment.