diff options
author | cy <cy@FreeBSD.org> | 2010-11-02 09:39:03 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2010-11-02 09:39:03 +0800 |
commit | 844fedf960110021909842d48be6a0264f0ad5fb (patch) | |
tree | 7f4eb1228f1d62d2bef83c388566bc4bfbcd2b9a /sysutils/doinkd | |
parent | f22201b1ba70ead6e097cee0b3d90071f56c0ef0 (diff) | |
download | freebsd-ports-gnome-844fedf960110021909842d48be6a0264f0ad5fb.tar.gz freebsd-ports-gnome-844fedf960110021909842d48be6a0264f0ad5fb.tar.zst freebsd-ports-gnome-844fedf960110021909842d48be6a0264f0ad5fb.zip |
Fix build under 9.0-CURRENT.
Discovered by: erwin (wearing portsmgr hat)
Diffstat (limited to 'sysutils/doinkd')
-rw-r--r-- | sysutils/doinkd/files/utmpx-Makefile | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/sysutils/doinkd/files/utmpx-Makefile b/sysutils/doinkd/files/utmpx-Makefile index 037fa2507a42..2b9aa325be0c 100644 --- a/sysutils/doinkd/files/utmpx-Makefile +++ b/sysutils/doinkd/files/utmpx-Makefile @@ -1,5 +1,5 @@ --- Makefile.orig 2006-05-30 00:19:28.000000000 -0700 -+++ Makefile 2010-08-27 12:42:08.661284827 -0700 ++++ Makefile 2010-11-01 16:40:53.000000000 -0800 @@ -2,8 +2,8 @@ # @@ -16,11 +16,11 @@ # 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 ++DEFS = -DPS_HACK -DRUDE_KILL -DHAVE_SETSID -DHAVE_UTMPX -DUTMPHOST SPECLIBS = INSTTYPE = install4 -@@ -193,26 +193,23 @@ +@@ -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 @@ -35,15 +35,14 @@ -#CFDEST = /etc/doinkd -#MDEST = /usr/local/man -#LOGDEST = /var/log --# --#OWNER = root --#CFOWNER = root --#MOWNER = man +DEST = ${PREFIX}/sbin +CFDEST = ${PREFIX}/etc/doinkd +MDEST = ${PREFIX}/man +LOGDEST = /var/log --# + # + #OWNER = root + #CFOWNER = root +-#MOWNER = man +MOWNER = man # -#GROUP = daemon @@ -60,12 +59,12 @@ ###################################################################### ###################################################################### -@@ -456,7 +452,7 @@ +@@ -456,7 +456,7 @@ # HERE are the big CFLAGS # Add -g if you want debugging # Add -O or whatever variant for optimization -CFLAGS = ${DEFS} ${DEBUG} -DCONFIG=\"${CONFIG}\" -DLOGFILE=\"${LOGFILE}\" ${INCLUDE} -+CFLAGS+= ${DEFS} ${DEBUG} -DCONFIG=\"${CONFIG}\" -DLOGFILE=\"${LOGFILE}\" ${INCLUDE} -DHAVE_UTMPX -DSYSV ++CFLAGS = ${DEFS} ${DEBUG} -DCONFIG=\"${CONFIG}\" -DLOGFILE=\"${LOGFILE}\" ${INCLUDE} -DHAVE_UTMPX -DSYSV # For HP's ANSI C compiler (use -g instead of +O3 for debugging) # CFLAGS = +O3 -Aa -D_HPUX_SOURCE ${DEFS} ${DEBUG} -DCONFIG=\"${CONFIG}\" -DLOGFILE=\"${LOGFILE}\" ${INCLUDE} |