[26622] trunk/dports/sysutils/FDclone/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sat Jun 30 19:43:12 PDT 2007
Revision: 26622
http://trac.macosforge.org/projects/macports/changeset/26622
Author: takanori at macports.org
Date: 2007-06-30 19:43:11 -0700 (Sat, 30 Jun 2007)
Log Message:
-----------
make +universal work.
Modified Paths:
--------------
trunk/dports/sysutils/FDclone/Portfile
Modified: trunk/dports/sysutils/FDclone/Portfile
===================================================================
--- trunk/dports/sysutils/FDclone/Portfile 2007-07-01 01:23:28 UTC (rev 26621)
+++ trunk/dports/sysutils/FDclone/Portfile 2007-07-01 02:43:11 UTC (rev 26622)
@@ -3,6 +3,7 @@
PortSystem 1.0
name FDclone
version 2.09d
+revision 1
categories sysutils shells
maintainers takanori at macports.org
description File & Directory Maintenance Tool
@@ -27,6 +28,7 @@
reinplace "s|\\(#include <unistd\.h>\\)|\\1\\\n#include <sys/types\.h>|" ${f}
}
reinplace "s|\$(PREFIX)/man|\$(DATATOP)/man|g" ${worksrcpath}/Makefile.in
+ reinplace "s|\$(CC) __MEM__|\$(CC) \$(CFLAGS) __MEM__|g" ${worksrcpath}/Makefile.in
}
configure {
@@ -44,7 +46,7 @@
}
}
-build.args CONFDIR=${prefix}/etc PREFIX=${prefix} CPPFLAGS="-I${prefix}/include/ncurses" LDFLAGS="-L${prefix}/lib -lncurses"
+build.args CONFDIR=${prefix}/etc PREFIX=${prefix} CFLAGS="${configure.cflags}" CPPFLAGS="${configure.cppflags} -I${prefix}/include/ncurses" LDFLAGS="${configure.ldflags} -lncurses"
destroot.args BUILD=${destroot} PREFIX=${prefix}
post-destroot {
@@ -55,6 +57,9 @@
xinstall -m 644 ${worksrcpath}/_fdrc ${destroot}${prefix}/etc/fd2rc.dist
}
+variant universal {
+ build.args CONFDIR=${prefix}/etc PREFIX=${prefix} CFLAGS="${configure.cflags} ${configure.universal_cflags}" CPPFLAGS="${configure.cppflags} -I${prefix}/include/ncurses" LDFLAGS="${configure.ldflags} ${configure.universal_ldflags} -lncurses"
+}
variant nojpnmes {}
variant emacs conflicts vim {set editor emacs}
variant vim conflicts emacs {set editor vim}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070630/803b87ee/attachment.html
More information about the macports-changes
mailing list