[62078] trunk/dports/textproc/help2man

nox at macports.org nox at macports.org
Mon Dec 28 11:49:10 PST 2009


Revision: 62078
          http://trac.macports.org/changeset/62078
Author:   nox at macports.org
Date:     2009-12-28 11:49:04 -0800 (Mon, 28 Dec 2009)
Log Message:
-----------
Fix help2man build (closes #23050)

Modified Paths:
--------------
    trunk/dports/textproc/help2man/Portfile

Removed Paths:
-------------
    trunk/dports/textproc/help2man/files/patch-Makefile.in

Modified: trunk/dports/textproc/help2man/Portfile
===================================================================
--- trunk/dports/textproc/help2man/Portfile	2009-12-28 18:54:35 UTC (rev 62077)
+++ trunk/dports/textproc/help2man/Portfile	2009-12-28 19:49:04 UTC (rev 62078)
@@ -4,6 +4,7 @@
 
 name			help2man
 version			1.37.1
+revision        1
 categories		textproc
 platforms		darwin
 maintainers		nomaintainer
@@ -14,7 +15,6 @@
 
 homepage		http://www.gnu.org/software/help2man/
 master_sites	gnu
-patchfiles		patch-Makefile.in
 
 checksums       md5     371b5cc74fe9c2ea3ee1ca23c19b19a8 \
                 sha1    db81161620ec8adf547a7e5a5d252036ca0d3b58 \
@@ -25,7 +25,10 @@
 
 configure.perl	${prefix}/bin/perl
 
+configure.args  --enable-nls
+
 post-patch {
+    reinplace "s|-shared|-bundle ${configure.ldflags}|" ${worksrcpath}/Makefile.in
 	if {[variant_isset universal]} {
 		if {[info exists universal_sysroot]} {
 			reinplace "s|-bundle|-bundle -isysroot ${universal_sysroot} ${configure.universal_ldflags}|" ${worksrcpath}/Makefile.in

Deleted: trunk/dports/textproc/help2man/files/patch-Makefile.in
===================================================================
--- trunk/dports/textproc/help2man/files/patch-Makefile.in	2009-12-28 18:54:35 UTC (rev 62077)
+++ trunk/dports/textproc/help2man/files/patch-Makefile.in	2009-12-28 19:49:04 UTC (rev 62078)
@@ -1,29 +0,0 @@
---- Makefile.in.orig	2005-10-29 06:50:33.000000000 +0000
-+++ Makefile.in	2007-07-05 08:28:07.000000000 +0000
-@@ -32,7 +32,7 @@
- target = help2man
- preload = hacklocaledir
- 
--all: $(target) man info @extra_make_all@
-+all: $(target) man info man_l10n
- 
- install: all install_base @extra_make_install@
- install_base:
-@@ -102,7 +102,7 @@
- 
- preload: $(preload).so
- $(preload).so: $(srcdir)/$(preload).c
--	$(CC) $(CFLAGS) -o $@ -fPIC -shared $? $(LIBS)
-+	$(CC) $(CFLAGS) -o $@ -fPIC -bundle $? $(LIBS)
- 
- man: $(target).1
- $(target).1: $(srcdir)/$(target).PL $(srcdir)/$(target).h2m
-@@ -145,7 +145,7 @@
- 	xgettext -L Perl -k_ -kN_ -o $@ $?
- 
- .PHONY: all clean distclean preload man man_l10n info dvi install \
--    install_base install_preload install_l10n mostlyclean realclean \
-+    install_base install_l10n mostlyclean realclean \
-     uninstall
- 
- .SUFFIXES:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091228/fbc0db4d/attachment.html>


More information about the macports-changes mailing list