[Midnightbsd-cvs] mports: Makefile: Disable linprocfs checks when building packages
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Jun 7 09:38:00 EDT 2008
Log Message:
-----------
Disable linprocfs checks when building packages (magus)
Modified Files:
--------------
mports/editors/linux-openoffice2:
Makefile (r1.3 -> r1.4)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/editors/linux-openoffice2/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -L editors/linux-openoffice2/Makefile -L editors/linux-openoffice2/Makefile -u -r1.3 -r1.4
--- editors/linux-openoffice2/Makefile
+++ editors/linux-openoffice2/Makefile
@@ -1,6 +1,6 @@
# New ports collection makefile for: openoffice2-linux
# Date created: June 4 2008
-# Whom: Lucas Holt <luke at midnightbsd.org>
+# Whom: Lucas Holt <luke at midnightbsd.org>
#
# $MidnightBSD$
#
@@ -31,10 +31,10 @@
OO_VER= 2.4
OO_RELEASE= 2.4.0
-RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio
-BUILD_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm
-RC_CMD?= ${RPM2CPIO}
-RC_AFTER_ARGS?= | ${CPIO} -id --quiet
+RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio
+BUILD_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm
+RC_CMD?= ${RPM2CPIO}
+RC_AFTER_ARGS?= | ${CPIO} -id --quiet
RPMFILES= \
openoffice.org-base-2.4.0-9286.i586.rpm \
@@ -67,7 +67,7 @@
openoffice.org-writer-2.4.0-9286.i586.rpm \
openoffice.org-xsltfilter-2.4.0-9286.i586.rpm
-WRKSRC= ${WRKDIR}/OOH680_m12_native_packed-1_en-US.9286
+WRKSRC= ${WRKDIR}/OOH680_m12_native_packed-1_en-US.9286
OPTIONS= JAVA "Enable Java Support" off
@@ -81,6 +81,7 @@
.endif
pre-fetch:
+.if !defined(PACKAGE_BUILDING)
.if ${LINPROCFS}
@${ECHO}
@${ECHO} Check if linprocfs is running: YES
@@ -113,6 +114,7 @@
.else
@${ECHO} Check if ${LINUXBASE}/etc/mtab exists: YES
.endif
+.endif
pre-install:
${MKDIR} ${WRKDIR}/oo
More information about the Midnightbsd-cvs
mailing list