From 36a1e22ed286b69216dc69bafb228f8587012907 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Mon, 30 Jun 2003 17:34:39 +0000 Subject: [PATCH] Make sure we link against ${PTHREAD_LIBS}. This fixes a build problem on -STABLE, and some runtime threading issues on -CURRENT. PR: 53918 Submitted by: maintainer --- devel/devhelp/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/devel/devhelp/Makefile b/devel/devhelp/Makefile index 172ba45a74be..fe764fa1d902 100644 --- a/devel/devhelp/Makefile +++ b/devel/devhelp/Makefile @@ -7,9 +7,10 @@ PORTNAME= devhelp PORTVERSION= 0.7 +PORTREVISION= 1 CATEGORIES?= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.7 +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C,^([[:digit:]]+\.[[:digit:]]+).*,\1,} DIST_SUBDIR= gnome2 MAINTAINER= rui@ruilopes.com @@ -21,7 +22,7 @@ USE_GMAKE= yes USE_GNOME= gnomehack gnomeprefix libgtkhtml libgnomeui GNU_CONFIGURE= yes INSTALLS_SHLIB= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \ + LIBS="${PTHREAD_LIBS} -L${LOCALBASE}/lib" .include