mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
- Support staging
- Respect CC - Respect CFLAGS - Fix build with clang
This commit is contained in:
parent
55cc55478d
commit
a9c61b88ca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345084
@ -10,17 +10,11 @@ MASTER_SITES= http://www.cs.cmu.edu/~dpelleg/download/
|
||||
MAINTAINER= daniel+mdnsd@pelleg.org
|
||||
COMMENT= Advertise a service via Rendezvous
|
||||
|
||||
PLIST_FILES= bin/mhttp\
|
||||
bin/mquery
|
||||
PLIST_FILES= bin/mhttp bin/mquery
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
@${ECHO_MSG} "Installing files"
|
||||
.for i in mhttp mquery
|
||||
@${INSTALL} ${COPY} ${_BINOWNGRP} ${WRKSRC}/${i} ${PREFIX}/bin
|
||||
.for f in mhttp mquery
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,16 +1,17 @@
|
||||
diff -ruN Makefile.orig Makefile
|
||||
--- Makefile.orig Tue Feb 18 09:00:04 2003
|
||||
+++ Makefile Mon Sep 25 22:11:16 2006
|
||||
@@ -1,10 +1,10 @@
|
||||
--- Makefile.orig 2003-02-18 08:00:04.000000000 +0100
|
||||
+++ Makefile 2014-02-19 13:13:13.848094695 +0100
|
||||
@@ -1,10 +1,12 @@
|
||||
+CC?=gcc
|
||||
+
|
||||
all: mquery mhttp
|
||||
|
||||
mhttp: mhttp.c
|
||||
- gcc -g -o mhttp mhttp.c mdnsd.c 1035.c sdtxt.c xht.c
|
||||
+ gcc -Wall -g -o mhttp mhttp.c mdnsd.c 1035.c sdtxt.c xht.c
|
||||
+ ${CC} ${CFLAGS} -o mhttp mhttp.c mdnsd.c 1035.c sdtxt.c xht.c
|
||||
|
||||
mquery: mquery.c
|
||||
- gcc -g -o mquery mquery.c mdnsd.c 1035.c
|
||||
+ gcc -Wall -g -o mquery mquery.c mdnsd.c 1035.c
|
||||
+ ${CC} ${CFLAGS} -o mquery mquery.c mdnsd.c 1035.c
|
||||
|
||||
clean:
|
||||
rm -f mquery mhttp
|
||||
|
Loading…
Reference in New Issue
Block a user