1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

sysutils/heartbeat: fix build without gcc

- Fix build without gcc
- Convert lib depends to new format [1]

PR:		ports/183800
Submitted by:	maintainer, wg [1]
This commit is contained in:
William Grzybowski 2013-11-09 12:30:28 +00:00
parent 8be041e13a
commit ebdc13af20
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333284
2 changed files with 15 additions and 4 deletions

View File

@ -16,10 +16,10 @@ COMMENT= Subsystem for High-Availability Clustering
BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison
LIB_DEPENDS= gnutls:${PORTSDIR}/security/gnutls \
net:${PORTSDIR}/net/libnet \
uuid:${PORTSDIR}/misc/e2fsprogs-libuuid \
xml2:${PORTSDIR}/textproc/libxml2
LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls \
libnet.so:${PORTSDIR}/net/libnet \
libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
libxml2.so:${PORTSDIR}/textproc/libxml2
PATCH_DEPENDS= libtool:${PORTSDIR}/devel/libtool
USE_AUTOTOOLS= autoconf autoheader automake aclocal libtool libltdl

View File

@ -0,0 +1,11 @@
--- tools/Makefile.am.orig 2008-08-18 12:32:19.000000000 +0000
+++ tools/Makefile.am 2013-11-08 13:57:58.000000000 +0000
@@ -43,7 +43,7 @@
## SOURCES
ccdv: $(top_srcdir)/tools/ccdv.c
- gcc $(AM_CFLAGS) $(CFLAGS) -o ccdv $(top_srcdir)/tools/ccdv.c
+ $(CC) $(AM_CFLAGS) $(CFLAGS) -o ccdv $(top_srcdir)/tools/ccdv.c
cl_status_SOURCES = cl_status.c
# A little trick. Now ccdv can be auto-built but not auto-cleaned.