diff options
author | joerg <joerg> | 2007-10-05 22:31:43 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-10-05 22:31:43 +0000 |
commit | 1cecfe9bdc88d0483940518c9382fed4e84a003a (patch) | |
tree | c580404ec7c9f1ee7538ec01874a1ec059c86c32 | |
parent | 06482aa718778d72a0757ea9706b21e4a6c1968f (diff) | |
download | pkgsrc-1cecfe9bdc88d0483940518c9382fed4e84a003a.tar.gz |
Explicitly link against pthread.
-rw-r--r-- | graphics/gimp-fix-ca/Makefile | 8 | ||||
-rw-r--r-- | graphics/gimp2-wideangle/Makefile | 7 |
2 files changed, 11 insertions, 4 deletions
diff --git a/graphics/gimp-fix-ca/Makefile b/graphics/gimp-fix-ca/Makefile index 4afbff3fe8e..e86e3c789f2 100644 --- a/graphics/gimp-fix-ca/Makefile +++ b/graphics/gimp-fix-ca/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2007/09/25 10:03:53 hira Exp $ +# $NetBSD: Makefile,v 1.8 2007/10/05 22:31:43 joerg Exp $ # DISTNAME= gimp-fix-ca-2.1.0 @@ -18,16 +18,20 @@ INSTALLATION_DIRS= lib/gimp/2.0/plug-ins USE_TOOLS+= pkg-config +LINK_PTHREAD= ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} + pre-build: ln -sf ${LOCALBASE}/bin/gimptool-2.0 \ ${BUILDLINK_DIR}/bin/gimptool do-build: - cd "${WRKDIR}" && gimptool --build ${DISTNAME}${EXTRACT_SUFX} + cd "${WRKDIR}" && \ + LIBS=${LINK_PTHREAD:Q} gimptool --build ${DISTNAME}${EXTRACT_SUFX} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} \ ${PREFIX}/lib/gimp/2.0/plug-ins/fix-ca .include "../../graphics/gimp/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/gimp2-wideangle/Makefile b/graphics/gimp2-wideangle/Makefile index 0e61c8787da..2f8ff7888ee 100644 --- a/graphics/gimp2-wideangle/Makefile +++ b/graphics/gimp2-wideangle/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2007/09/21 13:03:50 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2007/10/05 22:38:24 joerg Exp $ # DISTNAME= wideangle @@ -17,11 +17,14 @@ USE_TOOLS+= pkg-config DIST_SUBDIR= ${PKGNAME_NOREV} WRKSRC= ${WRKDIR} +LINK_PTHREAD= ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} + do-build: - (cd ${WRKSRC} && gimptool-2.0 --build wideangle.c) + (cd ${WRKSRC} && LIBS=${LINK_PTHREAD:Q} gimptool-2.0 --build wideangle.c) do-install: (cd ${WRKSRC} && gimptool-2.0 --install-admin-bin wideangle) .include "../../graphics/gimp/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |