ports/print/cups-connector/files/patch-privet_avahi.go
Steve Wills 17cea5e04c cups-connector: create port
Share printers from your computer with ChromeOS and Android devices, using the
Cloud Print Connector. The Connector is a purpose-built system process. It can
share hundreds of printers on a powerful server, or one printer on a Raspberry
Pi.

WWW: https://github.com/google/cups-connector
2016-03-12 19:31:35 +00:00

13 lines
440 B
Go

--- privet/avahi.go.orig 2016-03-12 14:17:35 UTC
+++ privet/avahi.go
@@ -9,8 +9,8 @@
package privet
// #cgo linux LDFLAGS: -lavahi-client -lavahi-common
-// #cgo freebsd CFLAGS: -I/usr/local/include
-// #cgo freebsd LDFLAGS: -L/usr/local/lib -lavahi-client -lavahi-common
+// #cgo freebsd CFLAGS: -I%%PREFIX%%/include
+// #cgo freebsd LDFLAGS: -L%%PREFIX%%/lib -lavahi-client -lavahi-common
// #include "avahi.h"
import "C"
import (