FreeBSD Bugzilla – Attachment 165126 Details for
Bug 205937
math/plplot: Make qhull optional, fix pkgconfig
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
let's choose qhull and fix pkgconfig
plplot.diff (text/plain), 3.44 KB, created by
Thierry Thomas
on 2016-01-05 22:18:00 UTC
(
hide
)
Description:
let's choose qhull and fix pkgconfig
Filename:
MIME Type:
Creator:
Thierry Thomas
Created:
2016-01-05 22:18:00 UTC
Size:
3.44 KB
patch
obsolete
>Index: math/plplot/Makefile >=================================================================== >--- math/plplot/Makefile (revision 405314) >+++ math/plplot/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= plplot > PORTVERSION= 5.11.1 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= math science > MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20Source > >@@ -16,7 +16,6 @@ > ${FREEFONT_DIR}/FreeMono.ttf:${PORTSDIR}/x11-fonts/freefont-ttf > LIB_DEPENDS= libLASi.so:${PORTSDIR}/devel/lasi \ > libltdl.so:${PORTSDIR}/devel/libltdl \ >- libqhull.so:${PORTSDIR}/math/qhull5 \ > libfreetype.so:${PORTSDIR}/print/freetype2 > RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \ > ${FREEFONT_DIR}/FreeMono.ttf:${PORTSDIR}/x11-fonts/freefont-ttf >@@ -23,7 +22,7 @@ > > USE_GNOME= pango > USE_PERL5= build >-USES= cmake ghostscript gmake perl5 pkgconfig >+USES= cmake ghostscript gmake localbase perl5 pathfix pkgconfig > CMAKE_ARGS= -DENABLE_java:BOOL=OFF \ > -DENABLE_octave:BOOL=OFF \ > -DENABLE_pdl:BOOL=OFF \ >@@ -32,6 +31,7 @@ > -DENABLE_ocaml:BOOL=OFF \ > -DENABLE_pyqt4:BOOL=OFF \ > -DPL_FREETYPE_FONT_PATH:PATH="${FREEFONT_DIR}" \ >+ -DCMAKE_INSTALL_PKG_CONFIG_DIR:PATH="${PREFIX}/libdata/pkgconfig" \ > -DPLD_plmeta:BOOL=OFF > CFLAGS+= -D_IS_BUILDING_PLPLOT_PORT_ > USE_LDCONFIG= yes >@@ -39,7 +39,9 @@ > FREEFONT_DIR= ${LOCALBASE}/share/fonts/freefont-ttf > > OPTIONS_DEFINE= FORTRAN GD LUA PYTHON QT4 TCLTK THREADS WXGTK X11 DOCS >-OPTIONS_DEFAULT=THREADS X11 >+OPTIONS_RADIO= QHULL >+OPTIONS_RADIO_QHULL= QHULL2012 QHULL2003 >+OPTIONS_DEFAULT= QHULL2012 THREADS X11 > OPTIONS_SUB= yes > > FORTRAN_USES= fortran >@@ -61,6 +63,13 @@ > PYTHON_CONFIGURE_ENV= PYTHON_VERSION="${PYTHON_VERSION}" > PYTHON_CMAKE_OFF= -DENABLE_python:BOOL=OFF > >+QHULL2003_DESC= Legacy Qhull support >+QHULL2012_DESC= Latest Qhull support >+QHULL2012_LIB_DEPENDS= libqhull.so.6:${PORTSDIR}/math/qhull >+QHULL2003_LIB_DEPENDS= libqhull.so.5:${PORTSDIR}/math/qhull5 >+QHULL2012_CMAKE_ON= -DQHULL_INCLUDE_DIRS="${LOCALBASE}/include/libqhull" >+QHULL2012_2FIX= lib/nn/delaunay.c src/plgridd.c >+ > TCLTK_LIB_DEPENDS= libitk.so:${PORTSDIR}/x11-toolkits/itk > TCLTK_RUN_DEPENDS= iwidgets>0:${PORTSDIR}/x11-toolkits/iwidgets > TCLTK_USES= tk >@@ -105,5 +114,11 @@ > ${WRKSRC}/cmake/modules/FindLTDL.cmake > ${GREP} -lR "/usr/local" ${WRKSRC}/cmake/modules | ${XARGS} \ > ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' >+.if ${PORT_OPTIONS:MQHULL2012} >+. for src in ${QHULL2012_2FIX} >+ ${REINPLACE_CMD} -e 's|qhull/qhull_a|libqhull/qhull_a|' \ >+ ${WRKSRC}/${src} >+. endfor >+.endif > > .include <bsd.port.mk> >Index: math/plplot/pkg-plist >=================================================================== >--- math/plplot/pkg-plist (revision 405314) >+++ math/plplot/pkg-plist (working copy) >@@ -70,13 +70,13 @@ > %%TCLTK%%lib/libtclmatrix.so > %%TCLTK%%lib/libtclmatrix.so.10 > %%TCLTK%%lib/libtclmatrix.so.10.2.0 >-lib/pkgconfig/plplot-c++.pc >-%%FORTRAN%%lib/pkgconfig/plplot-f95.pc >-%%QT4%%lib/pkgconfig/plplot-qt.pc >-%%TCLTK%%lib/pkgconfig/plplot-tcl.pc >-%%TCLTK%%lib/pkgconfig/plplot-tcl_Main.pc >-%%WXGTK%%lib/pkgconfig/plplot-wxwidgets.pc >-lib/pkgconfig/plplot.pc >+libdata/pkgconfig/plplot-c++.pc >+%%FORTRAN%%libdata/pkgconfig/plplot-f95.pc >+%%QT4%%libdata/pkgconfig/plplot-qt.pc >+%%TCLTK%%libdata/pkgconfig/plplot-tcl.pc >+%%TCLTK%%libdata/pkgconfig/plplot-tcl_Main.pc >+%%WXGTK%%libdata/pkgconfig/plplot-wxwidgets.pc >+libdata/pkgconfig/plplot.pc > %%LUA%%%%LUA_MODLIBDIR%%/plplot/plplotluac.so > lib/plplot/drivers/cairo.driver_info > lib/plplot/drivers/cairo.so
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:
woodsb02
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 205937
: 165126 |
165182