svn commit: r335770 - in head/ports-mgmt: pkg-devel/files pkg/files

Bryan Drewery bdrewery at FreeBSD.org
Fri Dec 6 16:14:28 UTC 2013


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


More information about the svn-ports-all mailing list