aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2012-05-07 13:23:23 +0800
committercy <cy@FreeBSD.org>2012-05-07 13:23:23 +0800
commitc2f8d196515486ccc17ee699290c46c2d24c4548 (patch)
tree3bd877bc7f854f1f62d8f0f239b44829f54b2499 /sysutils
parente5e2ee3991bba78c9b99b36ea9ab51391c72c3de (diff)
downloadfreebsd-ports-gnome-c2f8d196515486ccc17ee699290c46c2d24c4548.tar.gz
freebsd-ports-gnome-c2f8d196515486ccc17ee699290c46c2d24c4548.tar.zst
freebsd-ports-gnome-c2f8d196515486ccc17ee699290c46c2d24c4548.zip
Add missing Makefile patch.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/doinkd/Makefile2
-rw-r--r--sysutils/doinkd/files/patch-Makefile61
2 files changed, 62 insertions, 1 deletions
diff --git a/sysutils/doinkd/Makefile b/sysutils/doinkd/Makefile
index 2812b451c401..23526306fc7a 100644
--- a/sysutils/doinkd/Makefile
+++ b/sysutils/doinkd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= doinkd
PORTVERSION= 0.01
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= sysutils
MASTER_SITES= SF/idled/${PORTNAME}/${PORTVERSION}/
diff --git a/sysutils/doinkd/files/patch-Makefile b/sysutils/doinkd/files/patch-Makefile
new file mode 100644
index 000000000000..962dae9ca0aa
--- /dev/null
+++ b/sysutils/doinkd/files/patch-Makefile
@@ -0,0 +1,61 @@
+--- Makefile.orig 2006-05-30 00:19:28.000000000 -0700
++++ Makefile 2010-08-27 12:42:08.661284827 -0700
+@@ -2,8 +2,8 @@
+ #
+
+ # C compiler flags
+-CC = cc
+-RM = rm
++CC ?= cc
++RM ?= rm
+ INCLUDE =
+
+ ######################################################################
+@@ -81,7 +81,7 @@
+ ######################################################################
+ # UnixWare 7 -- SVR5 MP
+ #DEFS = -DSYSV -DHAVE_PROC_FS -DUTMPPID -DHAVE_SETSID -DHAVE_UTMPX -DUTMPHOST -DUNIXWARE
+-DEFS = -DSYSV -DPS_HACK -DRUDE_KILL -DHAVE_SETSID -DHAVE_UTMPX -DUTMPHOST -DUNIXWARE
++DEFS = -DPS_HACK -DRUDE_KILL -DHAVE_SETSID -DUTMPHOST
+ SPECLIBS =
+ INSTTYPE = install4
+
+@@ -193,26 +193,26 @@
+ # You will need to delete parse.c before compiling! You can either
+ # do so by hand, or do a 'make clean' followed by the normal 'make'.
+ #DEFS += -O -m486
+-#DEFS += -DBSD_OS2 -DHAVE_SETSID -DHAVE_YYRESTART -DPS_HACK
++DEFS += -DBSD_OS2 -DHAVE_SETSID -DHAVE_YYRESTART -DPS_HACK
+ #DEFS += -DPROC_SEARCH_1
+ #SPECLIBS = -lkvm
+-#INSTTYPE = install1a
++INSTTYPE = install1a
+ #
+-#DEST = /usr/local/sbin
+-#CFDEST = /etc/doinkd
+-#MDEST = /usr/local/man
+-#LOGDEST = /var/log
++DEST = ${PREFIX}/sbin
++CFDEST = ${PREFIX}/etc/doinkd
++MDEST = ${PREFIX}/man
++LOGDEST = /var/log
+ #
+ #OWNER = root
+ #CFOWNER = root
+-#MOWNER = man
++MOWNER = man
+ #
+-#GROUP = daemon
+-#CFGROUP = daemon
++GROUP = daemon
++CFGROUP = daemon
+ #
+-#MODE = 750
+-#CFMODE = 664
+-#MMODE = 444
++MODE = 750
++CFMODE = 664
++MMODE = 444
+
+ ######################################################################
+ ######################################################################