diff options
-rw-r--r-- | textproc/senna/Makefile | 4 | ||||
-rw-r--r-- | textproc/senna/files/patch-senna_in.h | 13 |
2 files changed, 15 insertions, 2 deletions
diff --git a/textproc/senna/Makefile b/textproc/senna/Makefile index 1fbad39b2e61..f44157528255 100644 --- a/textproc/senna/Makefile +++ b/textproc/senna/Makefile @@ -21,8 +21,8 @@ USE_AUTOTOOLS= automake:14 autoconf:259 libtool:15 USE_GMAKE= YES INSTALLS_SHLIB= YES CONFIGURE_ARGS= --with-sennahome=${SENNA_HOME} -CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" -MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" +MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" WRKSRC= ${WRKDIR}/${PORTNAME} SNAPDATE= 20060130 diff --git a/textproc/senna/files/patch-senna_in.h b/textproc/senna/files/patch-senna_in.h new file mode 100644 index 000000000000..a0a842d15e00 --- /dev/null +++ b/textproc/senna/files/patch-senna_in.h @@ -0,0 +1,13 @@ +--- lib/senna_in.h.orig Fri Feb 10 12:01:06 2006 ++++ lib/senna_in.h Fri Feb 10 12:05:57 2006 +@@ -83,6 +83,10 @@ + #define PATH_SEPARATOR "/" + #endif /* WIN32 */ + ++#if defined(__FreeBSD__) && __FreeBSD__ <= 4 ++typedef u_int8_t uint_least8_t; ++#endif ++ + #ifdef HAVE_PTHREAD_H + #include <pthread.h> + typedef pthread_mutex_t sen_mutex; |