To start off, I am very inexperienced with modifying makefiles or CFLAGS or anything of the sort.  This may have a simple solution, but I haven't found documentation yet that points me in the right direction.  I am still looking, but am asking here at the same time.
I am trying to do a basic compile of progman - https://github.com/jcs/progman. It appears the program was developed with OpenBSD in mind, and the video tutorial that vermaden linked to was using OpenBSD. Running make returns an error that X11/Xutil.h could not be found. Checking the makefile, it has a prefix and x11BASE set:
	
	
	
		
I tried exporting CFLAGS as mentioned in the tutorial, adjusting for the location difference in FreeBSD
Running make, it looks like that is used, but I still get the error about the missing library. I have verified the file is in /usr/local/include/X11
I suppose it would be simple to change the "X11BASE?=" to the appropriate location in FreeBSD, but since the files are distributed amongst several different folders, I'm not sure which one to choose. Or simply remove it and allow make to determine? Or is there something in how CFLAGS are set that is different in FreeBSD from OpenBSD that means I have to change the options there?
				
			I am trying to do a basic compile of progman - https://github.com/jcs/progman. It appears the program was developed with OpenBSD in mind, and the video tutorial that vermaden linked to was using OpenBSD. Running make returns an error that X11/Xutil.h could not be found. Checking the makefile, it has a prefix and x11BASE set:
		Code:
	
	PREFIX?=    /usr/local
X11BASE?=    /usr/X11R6
	I tried exporting CFLAGS as mentioned in the tutorial, adjusting for the location difference in FreeBSD
 export CFLAGS="-I/usr/local/include/X11 -I/usr/local/include/freetype2"Running make, it looks like that is used, but I still get the error about the missing library. I have verified the file is in /usr/local/include/X11
I suppose it would be simple to change the "X11BASE?=" to the appropriate location in FreeBSD, but since the files are distributed amongst several different folders, I'm not sure which one to choose. Or simply remove it and allow make to determine? Or is there something in how CFLAGS are set that is different in FreeBSD from OpenBSD that means I have to change the options there?