ports/devel/ctftools/patches/patch-cddl_usr_bin_ctfconvert_Makefile

17 lines
594 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Use libelf from base.
Index: cddl/usr.bin/ctfconvert/Makefile
--- cddl/usr.bin/ctfconvert/Makefile.orig
+++ cddl/usr.bin/ctfconvert/Makefile
@@ -35,8 +35,8 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensol
-I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \
-I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \
-I${OPENSOLARIS_SYS_DISTDIR}/uts/common \
- -I/usr/local/include/elftoolchain
+ -I${LOCALBASE}/include/libdwarf
-LDADD= -L/usr/local/lib/elftoolchain -ldwarf -lelf -lz -lpthread
+LDADD= -L/usr/lib -L${LOCALBASE}/lib/ -ldwarf -lelf -lz -lpthread
.include <bsd.prog.mk>