FreeBSD Bugzilla – Attachment 49693 Details for
Bug 75856
Update port: math/polymake: fixed packaging problems & added patch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
2.diff
2.diff (text/plain), 5.28 KB, created by
Ewgenij Gawrilow
on 2005-01-05 16:50:35 UTC
(
hide
)
Description:
2.diff
Filename:
MIME Type:
Creator:
Ewgenij Gawrilow
Created:
2005-01-05 16:50:35 UTC
Size:
5.28 KB
patch
obsolete
>diff -Nru -x CVS -x .cvsignore -I '$FreeBSD' rev.1/distinfo rev.2/distinfo >--- rev.1/distinfo 2004-12-29 02:29:57.000000000 +0100 >+++ rev.2/distinfo 2005-01-05 16:25:55.000000000 +0100 >@@ -1,2 +1,4 @@ > MD5 (polymake-2.1.0.tar.bz2) = 76857a92faccc0b5371becad44f3724a > SIZE (polymake-2.1.0.tar.bz2) = 2883560 >+MD5 (polymake-2.1.0-p1.diff) = d71b35e084ea09adcb6bbd0be46b1ffc >+SIZE (polymake-2.1.0-p1.diff) = 33984 >diff -Nru -x CVS -x .cvsignore -I '$FreeBSD' rev.1/Makefile rev.2/Makefile >--- rev.1/Makefile 2004-12-29 02:29:57.000000000 +0100 >+++ rev.2/Makefile 2005-01-05 17:19:12.000000000 +0100 >@@ -7,14 +7,19 @@ > > PORTNAME= polymake > PORTVERSION= 2.1.0 >+PORTREVISION= 2 > CATEGORIES= math > MASTER_SITES= ftp://ftp.math.tu-berlin.de/pub/combi/polymake/ > >+PATCH_SITES= ${MASTER_SITES} >+PATCHFILES= ${PORTNAME}-${PORTVERSION}-p1.diff >+ > MAINTAINER= gawrilow@math.tu-berlin.de > COMMENT= A framework for experimental discrete mathematics > > LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4 > >+USE_REINPLACE= yes > USE_GMAKE= yes > USE_BZIP2= yes > USE_PERL5= yes >@@ -23,8 +28,6 @@ > INSTALL_TARGET= install install-devel > NO_INSTALL_MANPAGES= yes > >-PLIST_SUB= PERL=${PERL} >- > .include <bsd.port.pre.mk> > > .if ${PERL_LEVEL} < 500600 >@@ -33,6 +36,7 @@ > > do-configure: > cd ${WRKSRC}; \ >+ rm -f build*/conf.make; \ > { echo CC='${CC}'; \ > echo CXX='${CXX}'; \ > echo Cflags='${CFLAGS} -I${PREFIX}/include'; \ >@@ -45,7 +49,22 @@ > echo PerlExe='${PERL}'; \ > } | gmake configure > >+pre-install: >+ rm -f `find ${WRKSRC} -name '*.orig'` >+ > post-install: >- ${PERL} -i -p -e 'print "PREFIX=${PREFIX}\n" if /InstallTop=/;' ${PREFIX}/libexec/polymake/Makefile >+ ${AWK} '/InstallTop=/ { print "PREFIX=${PREFIX}" } { print }' \ >+ ${PREFIX}/libexec/polymake/Makefile >${PREFIX}/libexec/polymake/Makefile.devel >+ cp -p ${PREFIX}/libexec/polymake/Makefile.devel ${PREFIX}/libexec/polymake/Makefile >+ rm ${PREFIX}/bin/polymake >+ ${SED} -e '/^use lib/ s|"[^"]*/perlx"|"${PREFIX}/libexec/polymake/perlx"|' \ >+ ${PREFIX}/share/polymake/perl/polymake >${PREFIX}/bin/polymake >+ chmod 755 ${PREFIX}/bin/polymake >+ mkdir ${PREFIX}/libexec/polymake/perlx >+ eval `${PERL} -V:archname`; \ >+ mv ${PREFIX}/share/polymake/perlx/$$archname ${PREFIX}/libexec/polymake/perlx/${PERL_ARCH}; \ >+ ${REINPLACE_CMD} -e "s|/share/polymake/perlx/$$archname/|/libexec/polymake/perlx/${PERL_ARCH}/|g" ${PREFIX}/libexec/polymake/perlx/${PERL_ARCH}/auto/Poly/Ext/.packlist >+ rm -f ${PREFIX}/libexec/polymake/perlx/${PERL_ARCH}/auto/Poly/Ext/.packlist.bak >+ rmdir ${PREFIX}/share/polymake/perlx > > .include <bsd.port.post.mk> >diff -Nru -x CVS -x .cvsignore -I '$FreeBSD' rev.1/pkg-descr rev.2/pkg-descr >--- rev.1/pkg-descr 2004-12-29 02:29:57.000000000 +0100 >+++ rev.2/pkg-descr 2004-12-22 19:30:30.000000000 +0100 >@@ -1,5 +1,6 @@ >-Polymake is a versatile tool for the algorithmic treatment of >-polytopes and polyhedra, and finite simplicial complexes. >+Polymake is a versatile framework for experimental discrete mathematics. >+The standard distribution contains tool collections for the algorithmic >+treatment of polytopes and polyhedra, and finite simplicial complexes. > It offers an unified interface to a wide variety of algorithms > and free software packages from the computational geometry field, > such as convex hull computation or visualization tools. >diff -Nru -x CVS -x .cvsignore -I '$FreeBSD' rev.1/pkg-plist rev.2/pkg-plist >--- rev.1/pkg-plist 2004-12-29 02:29:57.000000000 +0100 >+++ rev.2/pkg-plist 2005-01-05 17:18:26.000000000 +0100 >@@ -1,8 +1,10 @@ >-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Poly/Ext/.packlist >-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Poly/Ext/Ext.bs >-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Poly/Ext/Ext.so >-libexec/polymake/Makefile >-@exec %%PERL%% -i -p -e 's:PREFIX=.*:PREFIX=%D:' %D/%F >+libexec/polymake/perlx/%%PERL_ARCH%%/auto/Poly/Ext/.packlist >+libexec/polymake/perlx/%%PERL_ARCH%%/auto/Poly/Ext/Ext.bs >+libexec/polymake/perlx/%%PERL_ARCH%%/auto/Poly/Ext/Ext.so >+libexec/polymake/Makefile.devel >+@exec sed -e 's:PREFIX=.*:PREFIX=%D:' %D/%F >%B/Makefile >+@unexec rm -f %B/Makefile >+@exec [ -e %D/bin ] || mkdir %D/bin > libexec/polymake/apps/polytope/bin/2-face-sizes-simple > @exec ln -s %D/%F %D/bin > @unexec rm -f %D/bin/%f >@@ -633,6 +635,7 @@ > %%DOCSDIR%%/index.html > %%DOCSDIR%%/install-bin.html > %%DOCSDIR%%/install-full.html >+%%DOCSDIR%%/install-port.html > %%DOCSDIR%%/install-rpm.html > %%DOCSDIR%%/lib/AVL.html > %%DOCSDIR%%/lib/Array.html >@@ -966,7 +969,7 @@ > share/polymake/perl/Switches.pm > share/polymake/perl/namespaces.pm > share/polymake/perl/polymake >-@exec ln -s %D/%F %D/bin; %%PERL%% -i -p -e 's|(\$InstallTop\s*=\s*).*|$1"%D/share/polymake";|' %D/%F >+@exec sed -e '/\$InstallTop *=/ s|".*"|"%D/share/polymake"|' -e '/^use lib/ s|"[^"]*/perlx"|"%D/libexec/polymake/perlx"|' %D/%F >%D/bin/%f; chmod 755 %D/bin/%f > @unexec rm -f %D/bin/%f > share/polymake/povray/polymake-scene.pov > share/polymake/scripts/grow_complex >@@ -1049,6 +1052,9 @@ > @dirrm libexec/polymake/apps/polytope/bin > @dirrm libexec/polymake/apps/polytope > @dirrm libexec/polymake/apps >+@dirrm libexec/polymake/perlx/%%PERL_ARCH%%/auto/Poly/Ext >+@dirrm libexec/polymake/perlx/%%PERL_ARCH%%/auto/Poly >+@dirrm libexec/polymake/perlx/%%PERL_ARCH%%/auto >+@dirrm libexec/polymake/perlx/%%PERL_ARCH%% >+@dirrm libexec/polymake/perlx > @dirrm libexec/polymake >-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Poly/Ext >-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Poly
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 75856
: 49693