diff options
author | thierry <thierry@FreeBSD.org> | 2014-01-28 01:06:29 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2014-01-28 01:06:29 +0800 |
commit | 8e2cfff5f6ede1faea2cd664e23e9764e17a2693 (patch) | |
tree | dd1fe1e580e93dd8d4154a420d76b936fa6d64de | |
parent | b1d9e7ffa66a7ab0aae3fde37605bfdd4c3d6f22 (diff) | |
download | freebsd-ports-gnome-8e2cfff5f6ede1faea2cd664e23e9764e17a2693.tar.gz freebsd-ports-gnome-8e2cfff5f6ede1faea2cd664e23e9764e17a2693.tar.zst freebsd-ports-gnome-8e2cfff5f6ede1faea2cd664e23e9764e17a2693.zip |
- Remove direct dependency to fortran, the library is automatically
detected, and it fixes the linkage on FreeBSD-10;
- cleaning.
-rw-r--r-- | graphics/cimg/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/graphics/cimg/Makefile b/graphics/cimg/Makefile index 4cba2acf14d6..c176e9c38ae6 100644 --- a/graphics/cimg/Makefile +++ b/graphics/cimg/Makefile @@ -31,15 +31,13 @@ WRKSRC= ${WRKDIR}/${DISTNAME:C/_/-/} BUILD_WRKSRC= ${WRKSRC}/examples MAKE_ENV= X11PATH=${LOCALBASE} LOCALBASE=${LOCALBASE} CPPFLAGS+= ${CFLAGS} ${PTHREAD_CFLAGS} -LDFLAGS+= ${PTHREAD_LIBS} +LDFLAGS+= ${PTHREAD_LIBS} -Wl,--verbose .if !defined(NOPORTDOCS) USES= gmake REINPLACE_ARGS= -i "" LIB_DEPENDS+= libboard.so:${PORTSDIR}/graphics/libboard -USE_FORTRAN= yes - . if !defined(WITH_DEBUG) LIB_DEPENDS+= libpng15.so:${PORTSDIR}/graphics/png \ libjpeg.so:${PORTSDIR}/graphics/jpeg \ @@ -97,8 +95,7 @@ LAPACK_LIB= -L${LOCALBASE}/lib -llapack -lblas pre-configure: .if !defined(NOPORTDOCS) - ${DIRNAME} `${LOCALBASE}/bin/${FC} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR - ${REINPLACE_CMD} -e 's|make|${GMAKE}|' ${BUILD_WRKSRC}/Makefile + ${REINPLACE_CMD} -e 's|make|${MAKE_CMD}|' ${BUILD_WRKSRC}/Makefile .else ${REINPLACE_CMD} -e 's|^OPTFLAGS|#OPTFLAGS|' ${BUILD_WRKSRC}/Makefile .endif @@ -127,10 +124,8 @@ do-install: .if !defined(NOPORTEXAMPLES) ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} - @(cd ${STAGEDIR}${EXAMPLESDIR} && ${GMAKE} clean) + @(cd ${STAGEDIR}${EXAMPLESDIR} && ${MAKE_CMD} clean) @${RM} ${STAGEDIR}${EXAMPLESDIR}/*.orig - ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR} - ${FIND} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} -type f -exec ${CHMOD} ${SHAREMODE} {} \; .endif .include <bsd.port.post.mk> |