Ticket #40862: Portfile.diff
File Portfile.diff, 914 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 9 years ago) |
---|
-
Portfile
old new 45 45 patch-vncconnect_vncconnect.c.diff \ 46 46 patch-include_vncauth.h.diff 47 47 48 if {${os.platform} eq "darwin" && ${os.major} >= 12} { 49 depends_lib-append port:tradcpp 50 set cppcmd ${prefix}/bin/tradcpp 51 } else { 52 set cppcmd /usr/bin/cpp 53 } 54 48 55 post-patch { 49 56 reinplace "s|@PREFIX@|${prefix}|g" \ 50 57 ${worksrcpath}/Xvnc/config/cf/vnclibs.def \ … … 56 63 # The Vncviewer sample configuration file conflicts with the vncviewer binary 57 64 # on case-insensitive filesystems like Mac OS X's default Mac OS Extended. 58 65 move ${worksrcpath}/vncviewer/Vncviewer ${worksrcpath}/vncviewer/Vncviewer.sample 66 67 reinplace "s|::CPPCMD::|${cppcmd}|" ${worksrcpath}/Xvnc/config/imake/imakemdep.h 59 68 } 60 69 61 70 use_xmkmf yes