FreeBSD Bugzilla – Attachment 196780 Details for
Bug 228107
graphics/leptonica: Excessive dependencies
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Cleanup/Modernize; Remove un-needed dep
graphics-leptonica.diff (text/plain), 2.37 KB, created by
Nathan
on 2018-09-02 06:08:40 UTC
(
hide
)
Description:
Cleanup/Modernize; Remove un-needed dep
Filename:
MIME Type:
Creator:
Nathan
Created:
2018-09-02 06:08:40 UTC
Size:
2.37 KB
patch
obsolete
>graphics/leptonica: >* Changed to OPTIONS > -- Modernize/cleanup >* Add test target > -- Remove old-style >* Remove gnuplot dep > -- Was not needed for tests >* Add/fix License block > -- While here and to correct issue > >Index: graphics/leptonica/Makefile >=================================================================== >--- graphics/leptonica/Makefile (revision 478750) >+++ graphics/leptonica/Makefile (working copy) >@@ -3,22 +3,18 @@ > > PORTNAME= leptonica > PORTVERSION= 1.76.0 >+PORTREVISION= 1 > CATEGORIES= graphics > > MAINTAINER= hiroto.kagotani@gmail.com > COMMENT= C library for efficient image processing and image analysis operations > >-LIB_DEPENDS= libgif.so:graphics/giflib \ >- libopenjp2.so:graphics/openjpeg \ >- libpng.so:graphics/png \ >- libtiff.so:graphics/tiff \ >- libwebp.so:graphics/webp >+LICENSE= BSD2CLAUSE >+LICENSE_FILE= ${WRKSRC}/leptonica-license.txt > >-LICENSE_FILE= leptonica-license.txt >- > CONFLICTS= leptonlib-[0-9]* > >-USES= autoreconf jpeg libtool pathfix pkgconfig >+USES= autoreconf localbase libtool pathfix pkgconfig > > USE_GITHUB= yes > GH_ACCOUNT= DanBloomberg >@@ -25,25 +21,27 @@ > > GNU_CONFIGURE= yes > USE_LDCONFIG= yes >-CPPFLAGS+= -I${LOCALBASE}/include >-LDFLAGS+= -L${LOCALBASE}/lib > INSTALL_TARGET= install-strip > >-TESTS?= generate compare >-.if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING) >-BUILD_DEPENDS+= ${LOCALBASE}/bin/gnuplot:math/gnuplot >-.endif >-#the display portion of the regression tests is interactive, >-#and requires the use of xv, xli or xzgv as an image viewer >-.if defined(MAINTAINER_MODE) && !defined(BATCH) >-TESTS+= display >-.endif >+TEST_TARGET= check >+TESTS= generate compare display > >-check regression-test test: build >-.for c in ${TESTS} >- @cd ${WRKSRC}/prog; ${SETENV} \ >- LD_LIBRARY_PATH="${WRKSRC}/src/.libs:${LOCALBASE}/lib" \ >- ${WRKSRC}/prog/alltests_reg ${c} >-.endfor >+OPTIONS_DEFINE= GIF JPEG OPENJPEG PNG TIFF WEBP ZLIB >+OPTIONS_DEFAULT= OPENJPEG PNG >+OPTIONS_SUB= yes > >+GIF_CONFIGURE_WITH= giflib >+GIF_LIB_DEPENDS= libgif.so:graphics/giflib >+JPEG_CONFIGURE_WITH= jpeg >+JPEG_USES= jpeg >+OPENJPEG_CONFIGURE_WITH=libopenjpeg >+OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg >+PNG_CONFIGURE_WITH= libpng >+PNG_LIB_DEPENDS= libpng.so:graphics/png >+TIFF_CONFIGURE_WITH= tiff >+TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff >+WEBP_CONFIGURE_WITH= libwebp >+WEBP_LIB_DEPENDS= libwebp.so:graphics/webp >+ZLIB_CONFIGURE_WITH= zlib >+ > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
ndowens04
:
maintainer-approval?
(hiroto.kagotani)
Actions:
View
|
Diff
Attachments on
bug 228107
: 196780