Update dns/dnsperf to version 2.0.0.0_2
[dports.git] / www / edbrowse / files / patch-src-makefile.bsd
1 --- makefile.bsd.orig   2014-01-08 00:47:50.667199813 +0100
2 +++ makefile.bsd        2014-01-08 00:50:43.955208907 +0100
3 @@ -2,13 +2,13 @@
4  
5  #  Flags for compilation.
6  #  I know - I set the Linux flag here, but it seems to work.
7 -CFLAGS = -I/usr/local/include -I/usr/local/include/js -DSYSBSD -DXP_UNIX
8 +CFLAGS = -I${LOCALBASE}/include -I${LOCALBASE}/include/js -DSYSBSD -DXP_UNIX
9  
10  #  Tell the dynamic linker to look in the pkg area.
11  LFLAGS = -s -Wl,--rpath -Wl,/usr/pkg/lib
12  
13  #  Libraries for edbrowse.
14 -LIBS = -L /usr/local/lib -lpcre -lm -lssl -ljs -lcrypto -lpthread -lcurl
15 +LIBS = -L ${LOCALBASE}/lib -lpcre -lm -lssl -lmozjs185 -lcrypto -pthread -lcurl -lreadline
16  
17  #  Make the dynamically linked executable program by default.
18  #  Edbrowse executable.