[35889] trunk/dports/print/pdflib

mcalhoun at macports.org mcalhoun at macports.org
Wed Apr 9 05:01:25 PDT 2008


Revision: 35889
          http://trac.macosforge.org/projects/macports/changeset/35889
Author:   mcalhoun at macports.org
Date:     2008-04-09 05:01:22 -0700 (Wed, 09 Apr 2008)

Log Message:
-----------
pdflib: Reduce lint warnings

Modified Paths:
--------------
    trunk/dports/print/pdflib/Portfile

Added Paths:
-----------
    trunk/dports/print/pdflib/files/patch-config-mkcommon.inc.diff
    trunk/dports/print/pdflib/files/patch-libs__pdcore__pc_util.diff

Removed Paths:
-------------
    trunk/dports/print/pdflib/files/patch-config-mkcommon.inc.in
    trunk/dports/print/pdflib/files/patch-libs__pdcore__pc_util.h

Modified: trunk/dports/print/pdflib/Portfile
===================================================================
--- trunk/dports/print/pdflib/Portfile	2008-04-09 11:51:40 UTC (rev 35888)
+++ trunk/dports/print/pdflib/Portfile	2008-04-09 12:01:22 UTC (rev 35889)
@@ -18,7 +18,7 @@
 checksums		md5 97bcdd73206bae30b322f49d2c0d852b \
 			sha1 f63950303de23b9c13e9fdf5d6aa6ecae1ddc542 \
 			rmd160 90f91e2ff08e0280dce63801899162411889f0b7
-patchfiles		patch-config-mkcommon.inc.in patch-libs__pdcore__pc_util.h \
+patchfiles		patch-config-mkcommon.inc.diff patch-libs__pdcore__pc_util.diff \
 			patch-perl_Makefile.diff
 
 configure.args	--without-java --without-perl --without-py --without-tcl --without-ruby
@@ -28,38 +28,38 @@
 	file copy ${worksrcpath}/doc/pdflib ${destroot}${prefix}/share/doc/${name}
 }
 
-variant java {
+variant java description {Enable Java language binding} {
 	configure.args-delete	--without-java
 	configure.args-append	--with-java=yes
 }
 
-variant perl {
+variant perl description {Enable Perl language binding} {
 	depends_lib				path:${prefix}/bin/perl:perl5.8
 	configure.args-delete	--without-perl
 	configure.args-append	--with-perl=${prefix}/bin/perl
 }
 
-variant python24 {
+variant python24 description {Enable Python language binding using vervion 2.4} conflicts python25 {
 	set pyversion           2.4
 	depends_lib-append			port:python[strsed ${pyversion} {g/[.]//}]
 	configure.args-delete	--without-py
 	configure.args-append	--with-py=${prefix} --with-pyincl=${prefix}/include/python${pyversion}
 }
 
-variant python25 {
+variant python25 description {Enable Python language binding using vervion 2.5} conflicts python24 {
 	set pyversion           2.5
 	depends_lib-append			port:python[strsed ${pyversion} {g/[.]//}]
 	configure.args-delete	--without-py
 	configure.args-append	--with-py=${prefix} --with-pyincl=${prefix}/include/python${pyversion}
 }
 
-variant tcl {
+variant tcl description {Enable Tcl language binding} {
 	depends_lib-append			path:${prefix}/bin/tclsh:tcl
 	configure.args-delete	--without-tcl
 	configure.args-append	--with-tcl=${prefix}/bin/tclsh
 }
 
-variant ruby {
+variant ruby description {Enable Ruby language binding} {
 	depends_lib-append			port:ruby
 	pre-configure {
 		      set rubyIncl [file dirname [glob ${prefix}/lib/ruby/*/*/ruby.h]]

Copied: trunk/dports/print/pdflib/files/patch-config-mkcommon.inc.diff (from rev 35881, trunk/dports/print/pdflib/files/patch-config-mkcommon.inc.in)
===================================================================
--- trunk/dports/print/pdflib/files/patch-config-mkcommon.inc.diff	                        (rev 0)
+++ trunk/dports/print/pdflib/files/patch-config-mkcommon.inc.diff	2008-04-09 12:01:22 UTC (rev 35889)
@@ -0,0 +1,38 @@
+--- config/mkcommon.inc.in	2007-03-13 13:32:10.000000000 +0100
++++ config/mkcommon.inc.in.new	2007-04-18 21:37:26.000000000 +0200
+@@ -42,7 +42,7 @@
+ # build related stuff (configure)
+ LDFLAGS		= @LDFLAGS@
+ CFLAGS		= @CFLAGS@ @DEFS@ $(PDFWALL) $(PDFPEDANTIC) $(MYCFLAGS) 
+-CPPFLAGS	= @CPPFLAGS@ $(INCLUDES)
++CPPFLAGS	= $(INCLUDES) @CPPFLAGS@ 
+ CXXFLAGS	= @CXXFLAGS@
+ PDFWALL		= @PDFWALL@
+ PDFPEDANTIC	= @PDFPEDANTIC@
+@@ -65,7 +65,7 @@
+ 
+ 
+ # Perl
+-PERLLIBDIR	= @PERLLIBDIR@
++PERLLIBDIR	= ${DESTDIR}@PERLLIBDIR@
+ PERLINCLUDE	= @PERLINCLUDE@
+ PERLLINK	= @PERLLINK@
+ PERL		= @PERL@
+@@ -79,7 +79,7 @@
+ RUBY       	= @RUBY@
+ 
+ TCLINCLUDE	= @TCLINCLUDE@
+-TCLPACKAGEDIR	= @TCLPACKAGEDIR@
++TCLPACKAGEDIR	= ${DESTDIR}@TCLPACKAGEDIR@
+ TCLBIN		= @TCLBIN@
+ 
+ # PDFlib includes
+@@ -145,7 +145,7 @@
+ PDULIBLINK	= @PDULIBLINK@
+ 
+ # installation directories (configure)
+-prefix          = @prefix@
++prefix          = ${DESTDIR}@prefix@
+ exec_prefix     = @exec_prefix@
+ libdir          = @libdir@
+ includedir      = @includedir@

Deleted: trunk/dports/print/pdflib/files/patch-config-mkcommon.inc.in
===================================================================
--- trunk/dports/print/pdflib/files/patch-config-mkcommon.inc.in	2008-04-09 11:51:40 UTC (rev 35888)
+++ trunk/dports/print/pdflib/files/patch-config-mkcommon.inc.in	2008-04-09 12:01:22 UTC (rev 35889)
@@ -1,38 +0,0 @@
---- config/mkcommon.inc.in	2007-03-13 13:32:10.000000000 +0100
-+++ config/mkcommon.inc.in.new	2007-04-18 21:37:26.000000000 +0200
-@@ -42,7 +42,7 @@
- # build related stuff (configure)
- LDFLAGS		= @LDFLAGS@
- CFLAGS		= @CFLAGS@ @DEFS@ $(PDFWALL) $(PDFPEDANTIC) $(MYCFLAGS) 
--CPPFLAGS	= @CPPFLAGS@ $(INCLUDES)
-+CPPFLAGS	= $(INCLUDES) @CPPFLAGS@ 
- CXXFLAGS	= @CXXFLAGS@
- PDFWALL		= @PDFWALL@
- PDFPEDANTIC	= @PDFPEDANTIC@
-@@ -65,7 +65,7 @@
- 
- 
- # Perl
--PERLLIBDIR	= @PERLLIBDIR@
-+PERLLIBDIR	= ${DESTDIR}@PERLLIBDIR@
- PERLINCLUDE	= @PERLINCLUDE@
- PERLLINK	= @PERLLINK@
- PERL		= @PERL@
-@@ -79,7 +79,7 @@
- RUBY       	= @RUBY@
- 
- TCLINCLUDE	= @TCLINCLUDE@
--TCLPACKAGEDIR	= @TCLPACKAGEDIR@
-+TCLPACKAGEDIR	= ${DESTDIR}@TCLPACKAGEDIR@
- TCLBIN		= @TCLBIN@
- 
- # PDFlib includes
-@@ -145,7 +145,7 @@
- PDULIBLINK	= @PDULIBLINK@
- 
- # installation directories (configure)
--prefix          = @prefix@
-+prefix          = ${DESTDIR}@prefix@
- exec_prefix     = @exec_prefix@
- libdir          = @libdir@
- includedir      = @includedir@

Copied: trunk/dports/print/pdflib/files/patch-libs__pdcore__pc_util.diff (from rev 35881, trunk/dports/print/pdflib/files/patch-libs__pdcore__pc_util.h)
===================================================================
--- trunk/dports/print/pdflib/files/patch-libs__pdcore__pc_util.diff	                        (rev 0)
+++ trunk/dports/print/pdflib/files/patch-libs__pdcore__pc_util.diff	2008-04-09 12:01:22 UTC (rev 35889)
@@ -0,0 +1,10 @@
+--- libs/pdcore/pc_util.h.orig	2005-05-02 01:24:15.000000000 -0400
++++ libs/pdcore/pc_util.h	2005-05-02 01:24:21.000000000 -0400
+@@ -19,6 +19,7 @@
+ #ifndef PC_UTIL_H
+ #define PC_UTIL_H
+ 
++#include <sys/types.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <limits.h>

Deleted: trunk/dports/print/pdflib/files/patch-libs__pdcore__pc_util.h
===================================================================
--- trunk/dports/print/pdflib/files/patch-libs__pdcore__pc_util.h	2008-04-09 11:51:40 UTC (rev 35888)
+++ trunk/dports/print/pdflib/files/patch-libs__pdcore__pc_util.h	2008-04-09 12:01:22 UTC (rev 35889)
@@ -1,10 +0,0 @@
---- libs/pdcore/pc_util.h.orig	2005-05-02 01:24:15.000000000 -0400
-+++ libs/pdcore/pc_util.h	2005-05-02 01:24:21.000000000 -0400
-@@ -19,6 +19,7 @@
- #ifndef PC_UTIL_H
- #define PC_UTIL_H
- 
-+#include <sys/types.h>
- #include <stdlib.h>
- #include <string.h>
- #include <limits.h>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080409/fd420b11/attachment.html


More information about the macports-changes mailing list