[Midnightbsd-cvs] mports [20594] trunk/archivers/rpm4/Makefile: fix a few issues

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Oct 31 15:02:26 EDT 2015


Revision: 20594
          http://svnweb.midnightbsd.org/mports/?rev=20594
Author:   laffer1
Date:     2015-10-31 15:02:26 -0400 (Sat, 31 Oct 2015)
Log Message:
-----------
fix a few issues

Modified Paths:
--------------
    trunk/archivers/rpm4/Makefile

Modified: trunk/archivers/rpm4/Makefile
===================================================================
--- trunk/archivers/rpm4/Makefile	2015-10-31 18:55:04 UTC (rev 20593)
+++ trunk/archivers/rpm4/Makefile	2015-10-31 19:02:26 UTC (rev 20594)
@@ -2,7 +2,7 @@
 
 PORTNAME=	rpm
 PORTVERSION=	4.12.0.1
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	archivers
 MASTER_SITES=	http://rpm.org/releases/rpm-${PORTVERSION:R:R}.x/ \
 		ftp://ftp.mirrorservice.org/sites/ftp.rpm.org/pub/rpm/dist/rpm-${PORTVERSION:E}.x/
@@ -50,6 +50,7 @@
 
 CPPFLAGS+=	-I${LOCALBASE}/include \
 		-I${LOCALBASE}/include/nspr -I${LOCALBASE}/include/nss/nss \
+		-I${LOCALBASE}/include/nss \
 		-I${BDB_INCLUDE_DIR} -I${LUA_INCDIR}
 LDFLAGS+=	-L${LOCALBASE}/lib -L${LOCALBASE}/lib/nss \
 		-L${BDB_LIB_DIR} -L${LUA_LIBDIR}
@@ -67,9 +68,9 @@
 
 post-patch:
 	${REINPLACE_CMD} -e 's:\.\./\.\./bin/::' ${WRKSRC}/Makefile.in
-	${REINPLACE_CMD} -e 's/(hpux)/& || defined(__FreeBSD__)/' \
+	${REINPLACE_CMD} -e 's/(hpux)/& || defined(__MidnightBSD__)/' \
 		${WRKSRC}/misc/fts.?
-	${REINPLACE_CMD} -e 's/ __GLIBC__.*/& || defined(__FreeBSD__)/' \
+	${REINPLACE_CMD} -e 's/ __GLIBC__.*/& || defined(__MidnightBSD__)/' \
 		${WRKSRC}/system.h
 
 post-install:



More information about the Midnightbsd-cvs mailing list