Now that shared libs can simply be listed in PLIST and pkg_create
handles them automagically, make-plist no longer needs to split them
off to a separate file. Plugins are left alone as in the rare case
something uses them but still builds on a !shared arch, they would
want to be in a separate PFRAG.

comments? OK?

Index: make-plist
===================================================================
RCS file: /cvs/ports/infrastructure/bin/make-plist,v
retrieving revision 1.4
diff -u -p -r1.4 make-plist
--- make-plist  22 Jun 2011 12:55:26 -0000      1.4
+++ make-plist  28 Jan 2013 13:30:13 -0000
@@ -953,7 +953,7 @@ sub handle_file
                            next;
                        }
                        bad_files($short, $p);
-                       if (($file->type eq 'library' || $file->type eq 
'plugin') && !$shared_only) {
+                       if (($file->type eq 'plugin') && !$shared_only) {
                                if (defined $p->{shared}) {
                                    $p->{wantshared} = 1;
                                    $p = $p->{shared};
@@ -1002,7 +1002,7 @@ sub handle_file
        return unless defined $o;
 
        bad_files($short, $p);
-       if (($file->type eq 'library' || $file->type eq 'plugin') && 
!$shared_only) {
+       if (($file->type eq 'plugin') && !$shared_only) {
                $p->{wantshared} = 1;
                $p = $p->{shared};
        }

Reply via email to