mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 07:10:32 -04:00
location of the header files, ask fltk-config(1) for the proper flags. This also helps to get rid of overly long line in the port's Makefile.
12 lines
322 B
Text
12 lines
322 B
Text
--- Makefile.orig 2015-12-14 18:44:42 UTC
|
|
+++ Makefile
|
|
@@ -5,7 +5,8 @@ VERSION = 1.16
|
|
|
|
CXXFILES = main.C Frame.C Menu.C FrameWindow.C Desktop.C Hotkeys.C
|
|
|
|
-LIBS = -lfltk
|
|
+CPPFLAGS += -DFL_LIBRARY $(shell $(LOCALBASE)/bin/fltk-config --cxxflags)
|
|
+LIBS += $(shell $(LOCALBASE)/bin/fltk-config --ldflags)
|
|
|
|
MANPAGE = 1
|
|
|