# $FreeBSD$

SCRIPTS=	krb5-config
MAN=		krb5-config.1
CLEANFILES=	krb5-config

krb5-config: krb5-config.in
	sed	-e "s,@PACKAGE\@,FreeBSD heimdal,g" \
		-e "s,@VERSION\@,0.5,g" \
		-e "s,@prefix\@,/usr,g" \
		-e "s,@exec_prefix\@,/usr,g" \
		-e "s,@libdir\@,${LIBDIR},g" \
		-e "s,@includedir\@,${INCLUDEDIR},g" \
		-e "s,@LIB_crypt\@,-lcrypt,g" \
		-e "s,@LIB_dbopen\@,,g" \
		-e "s,@LIB_des_appl\@,-lcrypto,g" \
		-e "s,@LIBS\@,-lcom_err,g" \
		${.ALLSRC} > ${.TARGET}
	chmod +x ${.TARGET}

.include <bsd.prog.mk>

.PATH:	${KRB5DIR}/tools

# $FreeBSD$

SCRIPTS=	krb5-config
MAN=		krb5-config.1
CLEANFILES=	krb5-config

krb5-config: krb5-config.in
	sed	-e "s,@PACKAGE\@,FreeBSD heimdal,g" \
		-e "s,@VERSION\@,0.5,g" \
		-e "s,@prefix\@,/usr,g" \
		-e "s,@exec_prefix\@,/usr,g" \
		-e "s,@libdir\@,${LIBDIR},g" \
		-e "s,@includedir\@,${INCLUDEDIR},g" \
		-e "s,@LIB_crypt\@,-lcrypt,g" \
		-e "s,@LIB_dbopen\@,,g" \
		-e "s,@LIB_des_appl\@,-lcrypto,g" \
		-e "s,@LIBS\@,-lcom_err,g" \
		-e "s,@INCLUDE_des@,,g" \
		${.ALLSRC} > ${.TARGET}
	chmod +x ${.TARGET}

.include <bsd.prog.mk>

.PATH:	${KRB5DIR}/tools

Repair buglet introduced with the last import of Heimdal: `krb5-config --cflags' spewed an erroneous argument.
Repair buglet introduced with the last import of Heimdal:
`krb5-config --cflags' spewed an erroneous argument.

Reported by:	Gabor@Zahemszky.HU
Approved by:	re (jhb)
