[Bug 236332] [net/wireshark] Wireshark 3.0.0 build without lua fails

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 6 18:17:25 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236332

            Bug ID: 236332
           Summary: [net/wireshark] Wireshark 3.0.0 build without lua
                    fails
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: marcus at FreeBSD.org
          Reporter: stephen.wall at redcom.com
             Flags: maintainer-feedback?(marcus at FreeBSD.org)
          Assignee: marcus at FreeBSD.org

The %%LUA%% tag in the pkg-plist is not being handled.

```
===>  Building package for wireshark-3.0.0
pkg-static: Unable to access file
/wrkdirs/usr/ports/net/wireshark/work/stage/usr/local/share/wireshark/console.lua:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/net/wireshark/work/stage/usr/local/share/wireshark/dtd_gen.lua:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/net/wireshark/work/stage/usr/local/share/wireshark/init.lua:No
such file or directory
*** Error code 1
```

Need to add `LUA` to `PLIST_SUB`.


```
Index: Makefile
===================================================================
--- Makefile    (revision 50774)
+++ Makefile    (working copy)
@@ -154,6 +154,12 @@
 PLIST_SUB+=    GUI=""
 .endif

+.if empty(PORT_OPTIONS:MLUA)
+PLIST_SUB+=    LUA="@comment "
+.else
+PLIST_SUB+=    LUA=""
+.endif
+
 .if !defined(LITE)
 .if ${PORT_OPTIONS:MANDROIDDUMP}
 PLIST_SUB+=    ANDROIDDUMP_LIB="" \
```

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list