[34430] trunk/dports/devel/libcompat/Portfile
pguyot at kallisys.net
pguyot at kallisys.net
Sun Feb 24 12:19:48 PST 2008
Revision: 34430
http://trac.macosforge.org/projects/macports/changeset/34430
Author: pguyot at kallisys.net
Date: 2008-02-24 12:19:47 -0800 (Sun, 24 Feb 2008)
Log Message:
-----------
devel/libcompat: removed variant_isset macosx-framework (which I don't remember the meaning of), and generalized 10.4 stuff since they probably apply to 10.5, too.
Modified Paths:
--------------
trunk/dports/devel/libcompat/Portfile
Modified: trunk/dports/devel/libcompat/Portfile
===================================================================
--- trunk/dports/devel/libcompat/Portfile 2008-02-24 20:12:21 UTC (rev 34429)
+++ trunk/dports/devel/libcompat/Portfile 2008-02-24 20:19:47 UTC (rev 34430)
@@ -1,8 +1,10 @@
# $Id$
PortSystem 1.0
+
name libcompat
version 4.6.2-RELEASE
+revision 1
categories devel
maintainers nomaintainer
description Compatibility library with functionality from 4BSD
@@ -14,9 +16,15 @@
build.type bsd
worksrcdir ${name}
use_configure no
-patchfiles patch-Makefile
+patchfiles patch-Makefile \
+ patch-4.3-regex.c
build.env LDADD="-install_name ${prefix}/lib/libcompat.1.dylib"
+# Copy regexp.h for compilation of libcompat.
+post-patch {
+ file copy "${portpath}/${filesdir}/regexp.h" "${worksrcpath}/4.3/"
+}
+
pre-build {
# You need BSD tsort (/usr/bin), not GNU tsort (from GNU coreutils)
# see Bug: http://trac.macports.org/projects/macports/ticket/12373
@@ -29,21 +37,10 @@
system "cd ${worksrcpath} && ln -sf libcompat.1.dylib \
${destroot}${prefix}/lib/libcompat.dylib"
- # Copy regexp.h on Tiger
- if {[variant_isset macosx-framework]} {
- file copy "${portpath}/${filesdir}/regexp.h" "${destroot}${prefix}/include/"
- }
+ # Copy regexp.h
+ file copy "${portpath}/${filesdir}/regexp.h" "${destroot}${prefix}/include/"
}
-platform darwin 8 {
- # Tiger no longer provides regexp.h
- post-patch {
- file copy "${portpath}/${filesdir}/regexp.h" "${worksrcpath}/4.3/"
- }
-
- patchfiles-append patch-4.3-regex.c
-}
-
variant universal {
build.env \
CFLAGS="${configure.universal_cflags}" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080224/581f54c6/attachment.html
More information about the macports-changes
mailing list