- Attempt to fix build with non-standard LOCALBASE

Reported by:	QA Tindie
This commit is contained in:
Pietro Cerutti 2009-07-13 12:44:49 +00:00
parent 5ed667d713
commit 94f2c59c64
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237683

View file

@ -26,8 +26,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+=--prefix=${PREFIX}/sourcenav
post-patch:
${REINPLACE_CMD} -e 's|@XINCLUDES@|-I${LOCALBASE}/include|' \
${WRKSRC}/tk/unix/Makefile.in
${REINPLACE_CMD} -e 's|@XINCLUDES@|-I${LOCALBASE}/include|; \
s|@XLIBSW@|-L${LOCALBASE}/lib -lX11|' ${WRKSRC}/tk/unix/Makefile.in
post-install:
${LN} -s ${PREFIX}/sourcenav/bin/snavigator ${PREFIX}/bin/snavigator