summaryrefslogtreecommitdiff
path: root/net-misc/ipsorcery/files/ipsorcery-2.0.9-gentoo.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/ipsorcery/files/ipsorcery-2.0.9-gentoo.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/ipsorcery/files/ipsorcery-2.0.9-gentoo.patch')
-rw-r--r--net-misc/ipsorcery/files/ipsorcery-2.0.9-gentoo.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/net-misc/ipsorcery/files/ipsorcery-2.0.9-gentoo.patch b/net-misc/ipsorcery/files/ipsorcery-2.0.9-gentoo.patch
new file mode 100644
index 000000000000..6a0932c84e2f
--- /dev/null
+++ b/net-misc/ipsorcery/files/ipsorcery-2.0.9-gentoo.patch
@@ -0,0 +1,21 @@
+--- a/Makefile
++++ b/Makefile
+@@ -12,15 +12,15 @@
+ all: con gtk
+
+ con:
+- $(CC) -g -O2 -Wall -ansi -D_VERSION_=\"2.0.9\" -D_CON_ $(CON) -o ipmagic
++ $(CC) $(LDFLAGS) $(CFLAGS) -Wall -ansi -D_VERSION_=\"2.0.9\" -D_CON_ $(CON) -o ipmagic
+
+
+ gtk:
+- $(CC) -g -O2 -Wall -ansi -D_GTK_ -DGTK_ENABLE_BROKEN $(SRC) -o $(SPELL) `pkg-config --libs gtk+-2.0` `pkg-config --cflags gtk+-2.0`
++ $(CC) $(LDFLAGS) $(CFLAGS) $(shell $(PKG_CONFIG) --cflags gtk+-2.0) -Wall -ansi -D_GTK_ -DGTK_ENABLE_BROKEN $(SRC) -o $(SPELL) $(shell $(PKG_CONFIG) --libs gtk+-2.0)
+
+
+ solaris:
+- $(CC) -g -O2 -Wall -ansi -D_CON_ $(CON) -o $(SPELL) -lsocket -lnsl
++ $(CC) $(LDFLAGS) $(CFLAGS) -Wall -ansi -D_CON_ $(CON) -o $(SPELL) -lsocket -lnsl
+
+
+ install: con-install