diff options
author | danfe <danfe@FreeBSD.org> | 2005-12-14 18:39:55 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2005-12-14 18:39:55 +0800 |
commit | 2d1c198bd4fc0c6050ea6fcacfca69f06ed4e4a4 (patch) | |
tree | 8d7ffb7e1a45885f19c066925aad84240cbbc770 | |
parent | 39d4e00747cbac6caef8ff86a1d9c255524a88d7 (diff) | |
download | freebsd-ports-gnome-2d1c198bd4fc0c6050ea6fcacfca69f06ed4e4a4.tar.gz freebsd-ports-gnome-2d1c198bd4fc0c6050ea6fcacfca69f06ed4e4a4.tar.zst freebsd-ports-gnome-2d1c198bd4fc0c6050ea6fcacfca69f06ed4e4a4.zip |
Use smarter regexps.
-rw-r--r-- | x11/nvidia-driver/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile index 23d1ac61a24e..3cba6720d50f 100644 --- a/x11/nvidia-driver/Makefile +++ b/x11/nvidia-driver/Makefile @@ -129,19 +129,19 @@ post-patch: .SILENT ${REINPLACE_CMD} '/bus_memio\.h/d' ${WRKSRC}/src/nv-freebsd.h .endif .if defined(WITH_FREEBSD_AGP) - ${REINPLACE_CMD} 's/undef NV_SUPPORT_OS_AGP/define NV_SUPPORT_OS_AGP/' \ + ${REINPLACE_CMD} -E 's/undef (NV_SUPPORT_OS_AGP)/define \1/' \ ${WRKSRC}/src/nv-freebsd.h .endif .if defined(WITH_VM86_INT10CALL) - ${REINPLACE_CMD} 's/undef NV_USE_OS_VM86_INT10CALL/define NV_USE_OS_VM86_INT10CALL/' \ + ${REINPLACE_CMD} -E 's/undef (NV_USE_OS_VM86_INT10CALL)/define \1/' \ ${WRKSRC}/src/nv-freebsd.h .endif .if defined(WITH_ACPI) - ${REINPLACE_CMD} 's/undef NV_SUPPORT_ACPI_PM/define NV_SUPPORT_ACPI_PM/' \ + ${REINPLACE_CMD} -E 's/undef (NV_SUPPORT_ACPI_PM)/define \1/' \ ${WRKSRC}/src/nv-freebsd.h .endif .if defined(WITHOUT_LINUX) - ${REINPLACE_CMD} 's/define NV_SUPPORT_LINUX_COMPAT/undef NV_SUPPORT_LINUX_COMPAT/' \ + ${REINPLACE_CMD} -E 's/define (NV_SUPPORT_LINUX_COMPAT)/undef \1/' \ ${WRKSRC}/src/nv-freebsd.h .endif ${REINPLACE_CMD} -E 's/(extension).*/\1/ ; /bin/d' ${WRKSRC}/x11/Makefile |