aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordb <db@FreeBSD.org>2014-04-19 10:27:31 +0800
committerdb <db@FreeBSD.org>2014-04-19 10:27:31 +0800
commit5d03ec89150f5dbeba8a0526d45b907012943161 (patch)
tree7e48a15e2b7f6cc472f3caa5dd1a79bdb18ce3ec
parent01c05e57580ef15f8a7d53cc468f4aff4636f094 (diff)
downloadfreebsd-ports-gnome-5d03ec89150f5dbeba8a0526d45b907012943161.tar.gz
freebsd-ports-gnome-5d03ec89150f5dbeba8a0526d45b907012943161.tar.zst
freebsd-ports-gnome-5d03ec89150f5dbeba8a0526d45b907012943161.zip
- unbreak on HEAD
- stagify - Tim is swamped
-rw-r--r--sysutils/u-boot-beaglebone-eabi/Makefile14
-rw-r--r--sysutils/u-boot-beaglebone-eabi/files/patch-config.mk11
2 files changed, 16 insertions, 9 deletions
diff --git a/sysutils/u-boot-beaglebone-eabi/Makefile b/sysutils/u-boot-beaglebone-eabi/Makefile
index 83361337342e..d012ca0f2660 100644
--- a/sysutils/u-boot-beaglebone-eabi/Makefile
+++ b/sysutils/u-boot-beaglebone-eabi/Makefile
@@ -28,7 +28,6 @@ PLIST_DIRS= ${U_BOOT_DIR} share/u-boot
CROSS_PREFIX= arm-eabi-
ARCH= arm
-NO_STAGE= yes
do-configure:
(cd ${WRKSRC}; ${GMAKE} CROSS_COMPILE=${CROSS_PREFIX} am335x_evm_config)
@@ -36,13 +35,10 @@ do-build:
(cd ${WRKSRC};${GMAKE} CROSS_COMPILE=${CROSS_PREFIX} )
do-install:
- ${MKDIR} ${PREFIX}/${U_BOOT_DIR}
- ${CP} ${WRKSRC}/MLO ${PREFIX}/${U_BOOT_DIR}
- ${CP} ${WRKSRC}/u-boot.img ${PREFIX}/${U_BOOT_DIR}/bb-uboot.img
- ${TOUCH} ${PREFIX}/${U_BOOT_DIR}/bb-uenv.txt
- ${CP} ${.CURDIR}/pkg-descr ${PREFIX}/${U_BOOT_DIR}/README
-
-post-install:
- ${ECHO_CMD} U-Boot files are installed in ${U_BOOT_DIR}.
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${U_BOOT_DIR}
+ ${CP} ${WRKSRC}/MLO ${STAGEDIR}${PREFIX}/${U_BOOT_DIR}
+ ${CP} ${WRKSRC}/u-boot.img ${STAGEDIR}${PREFIX}/${U_BOOT_DIR}/bb-uboot.img
+ ${TOUCH} ${STAGEDIR}${PREFIX}/${U_BOOT_DIR}/bb-uenv.txt
+ ${CP} ${.CURDIR}/pkg-descr ${STAGEDIR}${PREFIX}/${U_BOOT_DIR}/README
.include <bsd.port.mk>
diff --git a/sysutils/u-boot-beaglebone-eabi/files/patch-config.mk b/sysutils/u-boot-beaglebone-eabi/files/patch-config.mk
new file mode 100644
index 000000000000..d6f5b566fa87
--- /dev/null
+++ b/sysutils/u-boot-beaglebone-eabi/files/patch-config.mk
@@ -0,0 +1,11 @@
+--- config.mk.orig 2014-04-18 16:19:53.610552978 -0400
++++ config.mk 2014-04-18 16:22:38.796542173 -0400
+@@ -95,7 +95,7 @@
+ HOSTCFLAGS += $(call os_x_before, 10, 4, "-traditional-cpp")
+ HOSTLDFLAGS += $(call os_x_before, 10, 5, "-multiply_defined suppress")
+ else
+-HOSTCC = gcc
++HOSTCC = cc
+ endif
+
+ ifeq ($(HOSTOS),cygwin)