diff options
Diffstat (limited to 'devel/linux_libusb/Makefile')
-rw-r--r-- | devel/linux_libusb/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/devel/linux_libusb/Makefile b/devel/linux_libusb/Makefile index 851f6809c29a..a594ecc69110 100644 --- a/devel/linux_libusb/Makefile +++ b/devel/linux_libusb/Makefile @@ -34,7 +34,6 @@ MAKE_ARGS+= LIBUSB_GLOBAL_INCLUDE_FILE=libusb_global_linux.h MAKE_ARGS+= WITHOUT_PROFILE=yes MAKE_ARGS+= WITHOUT_SSP=yes MAKE_ARGS+= WITHOUT_WERROR=yes -MAKE_ARGS+= __MAKE_CONF="" MAKE_ENV+= LDADD="-lrt" .include <bsd.port.pre.mk> @@ -49,14 +48,15 @@ PLIST_FILES+= usr/lib/libusb.so.3 \ do-build: ${MKDIR} ${WRKSRC}/${LIBDIR_${ARCH}} - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} MAKEOBJDIR=${LIBDIR_${ARCH}} \ - ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} \ - ${MAKE_ARGS:N${DESTDIRNAME}=*} + cd ${WRKSRC} && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} \ + MAKEOBJDIR=${LIBDIR_${ARCH}} ${MAKE_CMD} ${MAKE_FLAGS} \ + ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS:N${DESTDIRNAME}=*} .if ${ARCH} == amd64 ${MKDIR} ${WRKSRC}/lib - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV:NCC=*} CC="${CC} -m32" \ - MAKEOBJDIR=lib ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} \ - ${_MAKE_JOBS} ${MAKE_ARGS:N${DESTDIRNAME}=*} COMPAT_32BIT=yes + cd ${WRKSRC} && ${SETENVI} ${WRK_ENV} ${MAKE_ENV:NCC=*} \ + CC="${CC} -m32" MAKEOBJDIR=lib ${MAKE_CMD} ${MAKE_FLAGS} \ + ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS:N${DESTDIRNAME}=*} \ + COMPAT_32BIT=yes .endif do-install: |