From 332b0f4a830f7403e0b41592bbae6e4094f8ef23 Mon Sep 17 00:00:00 2001 From: Michael Haro Date: Fri, 24 Dec 1999 18:39:48 +0000 Subject: remove --prefix=${PREFIX} when GNU_CONFIGURE=yes and other minor cleanups PR: 14759 Submitted by: Jeremy Lea --- misc/dotfile/Makefile | 10 ++++++---- misc/rpm/Makefile | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'misc') diff --git a/misc/dotfile/Makefile b/misc/dotfile/Makefile index ff289a4928da..bbf11edc0221 100644 --- a/misc/dotfile/Makefile +++ b/misc/dotfile/Makefile @@ -20,16 +20,18 @@ MAN1= dotfile.1 NO_BUILD= yes -.if !defined(DISPLAY) -BROKEN= requires X display -.endif - post-configure: @(cd ${WRKSRC}/Modules/procmail && CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS}" \ INSTALL="${INSTALL} -c -o ${BINOWN} -g ${BINGRP}" \ INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}) +.if !defined(DISPLAY) +PLIST= ${WRKDIR}/PLIST +pre-install: + @${CAT} ${PKGDIR}/PLIST | ${SED} -e '/fvwm.\/bytecompile/d' > ${PLIST} +.endif + post-install: @${MKDIR} ${PREFIX}/share/doc/${DISTNAME} @${MKDIR} ${PREFIX}/share/doc/${DISTNAME}/dotfile diff --git a/misc/rpm/Makefile b/misc/rpm/Makefile index 84f05d59ba37..52f878a0c105 100644 --- a/misc/rpm/Makefile +++ b/misc/rpm/Makefile @@ -12,7 +12,7 @@ MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-2.5.x/ MAINTAINER= ports@FreeBSD.org -BUILD_DEPENDS= ${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm +LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm USE_GMAKE= yes USE_AUTOCONF= yes -- cgit v1.2.3