1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/misc/xdelta/Makefile
Joshua Peck Macdonald 4a23496b10 This fixes problem #2 reported by pierre.dampure@k2c.co.uk (out
of order includes--this version compiled on a 2.2.6 machine without
problems, though).

Rather than patch it, I cut a new release.

Problem #2 is:

> 1) Though the port depends on GDBM, the configure script does not find
> it; I got that to work by creating ad hoc symlinks for
> /usr/include/gdbm.h and /usr/lib/libgdbm.a --> for some reasons,
> /usr/local/include and /usr/local/lib are ignored (btw, any way I can do
> that "cleanly" for all ports?)

which I haven't touched.  Since the standard gcc doesn't search
/usr/local/include and /usr/local/lib, it is neccesary to have

	CFLAGS=-I/usr/local/include
	LDFLAGS=-L/usr/local/lib

before configure succeeds, but I tried adding those lines to MAKE_ENV
and it didn't help configure (is there a CONFIGURE_ENV)?

Why doesn't it search those paths anyway?  I looked at other ports which
require gdbm and they are no different, it seems they all have this problem,
or their makefiles have hardcoded /usr/local paths in them.

-josh
1998-04-21 00:09:58 +00:00

24 lines
550 B
Makefile

# New ports collection makefile for: xdelta
# Version required: 0.17
# Date created: Sun May 4 21:40:06 CDT 1997
# Whom: jmacd
#
# $Id: Makefile,v 1.5 1998/04/19 01:18:01 jmacd Exp $
#
DISTNAME= xdelta-0.17
CATEGORIES= misc
MASTER_SITES= ftp://ftp.xcf.berkeley.edu/pub/jmacd/
MAINTAINER= jmacd@FreeBSD.ORG
BUILD_DEPENDS= ${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm
GNU_CONFIGURE= yup
#
# this seems to be necessary for libtool :(
MAKE_ENV= CC=cc
MAN1= xdelta.1
.include <bsd.port.mk>