Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2013 16:14:28 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335770 - in head/ports-mgmt: pkg-devel/files pkg/files
Message-ID:  <201312061614.rB6GESit028980@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Fri Dec  6 16:14:27 2013
New Revision: 335770
URL: http://svnweb.freebsd.org/changeset/ports/335770

Log:
  - Fix build on 8.x
  
  With hat:	portmgr

Added:
  head/ports-mgmt/pkg-devel/files/patch-libpkg__Makefile   (contents, props changed)
  head/ports-mgmt/pkg/files/patch-libpkg__Makefile   (contents, props changed)

Added: head/ports-mgmt/pkg-devel/files/patch-libpkg__Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/pkg-devel/files/patch-libpkg__Makefile	Fri Dec  6 16:14:27 2013	(r335770)
@@ -0,0 +1,14 @@
+--- ./libpkg/Makefile.orig	2013-12-06 10:09:09.945131112 -0600
++++ ./libpkg/Makefile	2013-12-06 10:10:36.944131558 -0600
+@@ -255,3 +255,11 @@
+ 	sed -e "s,__PREFIX__,${PREFIX},g" \
+ 	    -e "s,__VERSION__,${PKGVERSION},g" \
+ 	    ${.IMPSRC} > ${.TARGET}
++
++# Workaround 8.3/8.4 bug
++OSVERSION!=    /sbin/sysctl -n kern.osreldate
++
++.if ${OSVERSION} < 901000
++.c.o:
++	${CC} ${STATIC_CFLAGS} ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
++.endif

Added: head/ports-mgmt/pkg/files/patch-libpkg__Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/pkg/files/patch-libpkg__Makefile	Fri Dec  6 16:14:27 2013	(r335770)
@@ -0,0 +1,14 @@
+--- ./libpkg/Makefile.orig	2013-12-06 10:09:09.945131112 -0600
++++ ./libpkg/Makefile	2013-12-06 10:10:36.944131558 -0600
+@@ -255,3 +255,11 @@
+ 	sed -e "s,__PREFIX__,${PREFIX},g" \
+ 	    -e "s,__VERSION__,${PKGVERSION},g" \
+ 	    ${.IMPSRC} > ${.TARGET}
++
++# Workaround 8.3/8.4 bug
++OSVERSION!=    /sbin/sysctl -n kern.osreldate
++
++.if ${OSVERSION} < 901000
++.c.o:
++	${CC} ${STATIC_CFLAGS} ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
++.endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312061614.rB6GESit028980>