FreeBSD Bugzilla – Attachment 92505 Details for
Bug 130168
Minor cleanups to math/plplot
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.45 KB, created by
Pedro F. Giffuni
on 2009-01-04 18:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Pedro F. Giffuni
Created:
2009-01-04 18:30:01 UTC
Size:
3.45 KB
patch
obsolete
>diff -ruN plplot.orig/Makefile plplot/Makefile >--- plplot.orig/Makefile 2009-01-04 12:38:57.000000000 -0500 >+++ plplot/Makefile 2009-01-04 12:54:35.000000000 -0500 >@@ -13,7 +13,6 @@ > MAINTAINER= giffunip@tutopia.com > COMMENT= A scientific plotting package > >-BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 > LIB_DEPENDS= unicode.0:${PORTSDIR}/devel/libunicode \ > gd.4:${PORTSDIR}/graphics/gd \ > qhull.5:${PORTSDIR}/math/qhull >@@ -21,9 +20,9 @@ > USE_AUTOTOOLS= libltdl:15 > USE_PERL5_BUILD=yes > GNU_CONFIGURE= yes >-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ >- LDFLAGS="-L${LOCALBASE}/lib" \ >- M4="${LOCALBASE}/bin/gm4" >+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ >+ LDFLAGS="-L${LOCALBASE}/lib" >+ > CONFIGURE_ARGS= --disable-cgm --disable-java --disable-octave \ > --with-gd-incdir=${LOCALBASE}/include \ > --with-gd-libdir=${LOCALBASE}/lib \ >@@ -33,15 +32,8 @@ > > MAN1= plm2gif.1 plplot_libtool.1 plpr.1 pltek.1 pstex2eps.1 > >-.if defined(WITH_FORTRAN) >-PKGNAMESUFFIX= -fortran >-USE_FORTRAN= yes >-CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}" >-CONFIGURE_ARGS+= --enable-f95 >-PLIST_SUB+= FORTRAN="" >-.else >-CONFIGURE_ARGS+= --disable-f77 >-PLIST_SUB+= FORTRAN="@comment " >+.if !defined(WITHOUT_PTHREAD) >+CONFIGURE_ARGS+= --with-pthreads > .endif > > .if defined(WITHOUT_X11) >@@ -54,16 +46,24 @@ > PLIST_SUB+= X11="" > .endif > >-.if !defined(WITHOUT_PTHREAD) >-CONFIGURE_ARGS+= --with-pthreads >+.if defined(WITH_FORTRAN) >+PKGNAMESUFFIX= -fortran >+USE_FORTRAN= yes >+CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}" >+CONFIGURE_ARGS+= --enable-f95 >+PLIST_SUB+= FORTRAN="" >+.else >+CONFIGURE_ARGS+= --disable-f77 >+PLIST_SUB+= FORTRAN="@comment " > .endif > >-.if defined(WITH_SVGALIB) >-LIB_DEPENDS+= vga:${PORTSDIR}/graphics/svgalib >-PLIST_SUB+= SVGALIB="" >+.if defined(WITH_GNOME) >+.undef WITHOUT_X11 >+USE_GNOME= libgnomeprintui libgnomeui >+PLIST_SUB+= GNOME="" > .else >-CONFIGURE_ARGS+= --disable-linuxvga >-PLIST_SUB+= SVGALIB="@comment " >+PLIST_SUB+= GNOME="@comment " >+CONFIGURE_ARGS+= --disable-gcw > .endif > > .if defined(WITH_PYTHON) >@@ -75,13 +75,12 @@ > PLIST_SUB+= PYTHON="@comment " > .endif > >-.if defined(WITH_GNOME) >-.undef WITHOUT_X11 >-USE_GNOME= libgnomeprintui libgnomeui >-PLIST_SUB+= GNOME="" >+.if defined(WITH_SVGALIB) >+LIB_DEPENDS+= vga:${PORTSDIR}/graphics/svgalib >+PLIST_SUB+= SVGALIB="" > .else >-PLIST_SUB+= GNOME="@comment " >-CONFIGURE_ARGS+= --disable-gcw >+CONFIGURE_ARGS+= --disable-linuxvga >+PLIST_SUB+= SVGALIB="@comment " > .endif > > .if defined(WITH_TCLTK) >@@ -109,12 +108,12 @@ > @${ECHO_MSG} "" > @${ECHO_MSG} "PLplot has the following tunable options:" > @${ECHO_MSG} "" >- @${ECHO_MSG} " WITHOUT_X11=yes Turns off X11 support" > @${ECHO_MSG} " WITHOUT_PTHREAD=yes Turns off pthread support" >+ @${ECHO_MSG} " WITHOUT_X11=yes Turns off X11 support" > @${ECHO_MSG} " WITH_FORTRAN=yes Turns on Fortran support" >- @${ECHO_MSG} " WITH_SVGALIB=yes Turns on SVGAlib support" > @${ECHO_MSG} " WITH_GNOME=yes Turns on GNOME driver support" > @${ECHO_MSG} " WITH_PYTHON=yes Turns on Python support" >+ @${ECHO_MSG} " WITH_SVGALIB=yes Turns on SVGAlib support" > @${ECHO_MSG} " WITH_TCLTK=yes Turns on Tcl/Tk support" > @${ECHO_MSG} "" > >@@ -123,8 +122,6 @@ > s|-ltcl$$|-ltcl84|g ; \ > s|-lpthread|${PTHREAD_LIBS:S/"//g}|g ; \ > s|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|' ${WRKSRC}/configure >- @${REINPLACE_CMD} -e 's|tk octave java|tk|g' \ >- ${WRKSRC}/bindings/Makefile.in > @${REINPLACE_CMD} -e 's| tclsh | ${LOCALBASE}/bin/tclsh8.4 |g' \ > ${WRKSRC}/scripts/mktclIndex
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
Actions:
View
|
Diff
Attachments on
bug 130168
: 92505 |
92506