1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Respect the LOCKDIR setting in the Makefile, as well as the global

CFLAGS.

PR:		16307
Submitted by:	Paul M. Lambert <plambert@plambert.net>
This commit is contained in:
Steve Price 2000-01-29 21:26:22 +00:00
parent 722c55c877
commit b4ba9bf486
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25260
8 changed files with 54 additions and 28 deletions

View File

@ -1,5 +1,5 @@
# New ports collection makefile for: heyu
# Version required: 1.28f
# Version required: 1.28h
# Date created: 27 December 1999
# Whom: plambert@plambert.net
#
@ -7,7 +7,7 @@
#
DISTNAME= x10_heyu
PKGNAME= heyu-1.28f
PKGNAME= heyu-1.28h
CATEGORIES= misc
MASTER_SITES= http://www.prado.com/~dbs/
EXTRACT_SUFX= .tgz
@ -28,7 +28,7 @@ post-install:
strip ${PREFIX}/bin/heyu
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/heyu
${INSTALL_DATA} ${WRKSRC}/x10config ${PREFIX}/share/examples/heyu
${INSTALL_DATA} ${WRKSRC}/x10config ${PREFIX}/share/examples/heyu/x10config.sample
${INSTALL_DATA} ${WRKSRC}/x10sched.conf.sample ${PREFIX}/share/examples/heyu
.endif

View File

@ -1 +1 @@
MD5 (x10_heyu.tgz) = f41c73b9665242ce5b9aba2b9a4f92e8
MD5 (x10_heyu.tgz) = 16127c9f27c15d5b7ec847b962e2625b

View File

@ -1,14 +1,14 @@
--- Makefile.orig Tue Jan 4 23:10:44 2000
+++ Makefile Tue Jan 4 23:12:54 2000
@@ -3,7 +3,7 @@
BIN = /usr/local/bin
--- work/heyu.dir/Makefile Thu Jan 6 23:47:16 2000
+++ Makefile Sun Jan 23 00:35:45 2000
@@ -4,7 +4,7 @@
MAN = /usr/local/man/man1
MAN5 = /usr/local/man/man5
-GROUP = sys
+GROUP = wheel
OWNER = bin
GROUP = sys
-OWNER = bin
+OWNER = root
# set DFLAGS equal to:
@@ -13,19 +13,19 @@
# -DVOID if compiler doesn't understand 'void'
# -DMINIEXCH if using the DEC mini-exchange
@ -20,8 +20,8 @@
LIBS = -lm -lc
## For LINUX, use the following defines in addition to what's above
-DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT
+#DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT
-DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX
+#DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX
## For solaris, use the following defines in addition to what's above
# DFLAGS = -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT
@ -32,3 +32,15 @@
## If you aren't sure, try this
#DFLAGS = -DSYSV -DPOSIX
@@ -54,9 +54,10 @@
EVERYTHING = $(OTHERSRC) $(SRCS)
heyu: $(OBJS) version.h
- cc $(LDFLAGS) -o heyu $(OBJS) $(LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) $(DFLAGS) -o heyu $(OBJS) $(LIBS)
$(OBJS): x10.h
+ cc $(CFLAGS) $(DFLAGS) -c $<
eeprom.o: eeprom.h

View File

@ -1,3 +1,4 @@
bin/heyu
share/examples/heyu/x10config
share/examples/heyu/x10config.sample
share/examples/heyu/x10sched.conf.sample
@dirrm share/examples/heyu

View File

@ -1,5 +1,5 @@
# New ports collection makefile for: heyu
# Version required: 1.28f
# Version required: 1.28h
# Date created: 27 December 1999
# Whom: plambert@plambert.net
#
@ -7,7 +7,7 @@
#
DISTNAME= x10_heyu
PKGNAME= heyu-1.28f
PKGNAME= heyu-1.28h
CATEGORIES= misc
MASTER_SITES= http://www.prado.com/~dbs/
EXTRACT_SUFX= .tgz
@ -28,7 +28,7 @@ post-install:
strip ${PREFIX}/bin/heyu
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/heyu
${INSTALL_DATA} ${WRKSRC}/x10config ${PREFIX}/share/examples/heyu
${INSTALL_DATA} ${WRKSRC}/x10config ${PREFIX}/share/examples/heyu/x10config.sample
${INSTALL_DATA} ${WRKSRC}/x10sched.conf.sample ${PREFIX}/share/examples/heyu
.endif

View File

@ -1 +1 @@
MD5 (x10_heyu.tgz) = f41c73b9665242ce5b9aba2b9a4f92e8
MD5 (x10_heyu.tgz) = 16127c9f27c15d5b7ec847b962e2625b

View File

@ -1,14 +1,14 @@
--- Makefile.orig Tue Jan 4 23:10:44 2000
+++ Makefile Tue Jan 4 23:12:54 2000
@@ -3,7 +3,7 @@
BIN = /usr/local/bin
--- work/heyu.dir/Makefile Thu Jan 6 23:47:16 2000
+++ Makefile Sun Jan 23 00:35:45 2000
@@ -4,7 +4,7 @@
MAN = /usr/local/man/man1
MAN5 = /usr/local/man/man5
-GROUP = sys
+GROUP = wheel
OWNER = bin
GROUP = sys
-OWNER = bin
+OWNER = root
# set DFLAGS equal to:
@@ -13,19 +13,19 @@
# -DVOID if compiler doesn't understand 'void'
# -DMINIEXCH if using the DEC mini-exchange
@ -20,8 +20,8 @@
LIBS = -lm -lc
## For LINUX, use the following defines in addition to what's above
-DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT
+#DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT
-DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX
+#DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX
## For solaris, use the following defines in addition to what's above
# DFLAGS = -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT
@ -32,3 +32,15 @@
## If you aren't sure, try this
#DFLAGS = -DSYSV -DPOSIX
@@ -54,9 +54,10 @@
EVERYTHING = $(OTHERSRC) $(SRCS)
heyu: $(OBJS) version.h
- cc $(LDFLAGS) -o heyu $(OBJS) $(LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) $(DFLAGS) -o heyu $(OBJS) $(LIBS)
$(OBJS): x10.h
+ cc $(CFLAGS) $(DFLAGS) -c $<
eeprom.o: eeprom.h

View File

@ -1,3 +1,4 @@
bin/heyu
share/examples/heyu/x10config
share/examples/heyu/x10config.sample
share/examples/heyu/x10sched.conf.sample
@dirrm share/examples/heyu