[Midnightbsd-cvs] mports [23734] trunk/Mk/bsd.mport.mk: no longer need to check the osversion for cpe.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Aug 17 18:42:42 EDT 2018


Revision: 23734
          http://svnweb.midnightbsd.org/mports/?rev=23734
Author:   laffer1
Date:     2018-08-17 18:42:41 -0400 (Fri, 17 Aug 2018)
Log Message:
-----------
no longer need to check the osversion for cpe.  it has been supported since 0.6.

Modified Paths:
--------------
    trunk/Mk/bsd.mport.mk

Modified: trunk/Mk/bsd.mport.mk
===================================================================
--- trunk/Mk/bsd.mport.mk	2018-08-17 22:41:37 UTC (rev 23733)
+++ trunk/Mk/bsd.mport.mk	2018-08-17 22:42:41 UTC (rev 23734)
@@ -1071,7 +1071,7 @@
 					-D "`cd ${.CURDIR} && ${MAKE} package-depends | ${GREP} -v -E ${PKG_IGNORE_DEPENDS} | ${SORT} -u`" \
 					-t "${CATEGORIES}"
 
-.if ${OSVERSION} > 6000 && defined(PKG_NOTE_cpe)
+.if defined(PKG_NOTE_cpe)
 MPORT_CREATE_ARGS+=			-e ${PKG_NOTE_cpe}
 .endif
 MPORT_CREATE_ARGS+=			$$_LATE_MPORT_CREATE_ARGS
@@ -1537,6 +1537,7 @@
 
 CONFIGURE_SCRIPT?=	configure
 CONFIGURE_CMD?=		./${CONFIGURE_SCRIPT}
+
 .if (${OSVERSION} < 10001)
 CONFIGURE_TARGET?=	${ARCH}-portbld-freebsd9.1
 .else



More information about the Midnightbsd-cvs mailing list