Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Mar 2019 18:17:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236332] [net/wireshark] Wireshark 3.0.0 build without lua fails
Message-ID:  <bug-236332-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236332

            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@FreeBSD.org
          Reporter: stephen.wall@redcom.com
             Flags: maintainer-feedback?(marcus@FreeBSD.org)
          Assignee: marcus@FreeBSD.org

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

```
=3D=3D=3D>  Building package for wireshark-3.0.0
pkg-static: Unable to access file
/wrkdirs/usr/ports/net/wireshark/work/stage/usr/local/share/wireshark/conso=
le.lua:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/net/wireshark/work/stage/usr/local/share/wireshark/dtd_g=
en.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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- Makefile    (revision 50774)
+++ Makefile    (working copy)
@@ -154,6 +154,12 @@
 PLIST_SUB+=3D    GUI=3D""
 .endif

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236332-7788>