libcompat: add universal support; closes #11807
--- trunk/dports/devel/libcompat/Portfile 2007-12-23 18:33:06 UTC (rev 32293)
+++ trunk/dports/devel/libcompat/Portfile 2007-12-23 19:08:10 UTC (rev 32294)
@@ -44,3 +44,8 @@
patchfiles-append patch-4.3-regex.c
}
+variant universal {
+ build.env \
+ CFLAGS="${configure.universal_cflags}" \
+ LDADD="${configure.universal_ldflags} -install_name ${prefix}/lib/libcompat.1.dylib"
+}