nedit: change openmotif to motif and bump revision

* Edited patch-Makefile.macosx to remove the unneeded inclusion of -lXp
This commit is contained in:
Tim Hentenaar
2026-04-28 11:55:46 -04:00
committed by Renee Otten
parent 02837da0bb
commit 0cb99b31c6
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ PortGroup makefile 1.0
name nedit
version 5.7
revision 1
revision 2
categories editors
license GPL-2+
maintainers nomaintainer
@@ -33,7 +33,7 @@ patchfiles-append \
patch-Makefile.macosx
depends_lib-append \
lib:libXm:openmotif \
lib:libXm:motif \
port:xpm
build.args-append \
+5 -5
View File
@@ -1,15 +1,15 @@
--- makefiles/Makefile.macosx.org 2004-07-14 12:48:21.000000000 -0700
+++ makefiles/Makefile.macosx 2007-10-29 20:27:27.000000000 -0700
@@ -19,8 +19,8 @@
# Use the first line to link to Motif statically (highly recommended) or the
# Use the first line to link to Motif statically (highly recommended) or the
# second line to link dynamically. With Fink you'll probably have to use
# dynamic linking, since they don't normally distribute the static libraries.
-MOTIFLINK=${MOTIFDIR}/lib/libXm.a
-#MOTIFLINK=-L${MOTIFDIR}/lib -lXm.2
+#MOTIFLINK=${MOTIFDIR}/lib/libXm.a
+MOTIFLINK=-L${MOTIFDIR}/lib -lXm.2
############### You shouldn't need to edit anything below here ##############
@@ -36,9 +36,9 @@
# To test if the Motif library exports the runtime version
@@ -20,7 +20,7 @@
-LIBS= ${EXTRALINKFLAGS} -L/usr/X11R6/lib ${MOTIFLINK} -lXp \
+CFLAGS=-O -no-cpp-precomp -mdynamic-no-pic -DNO_XMIM \
+ -I${MOTIFDIR}/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DBUILD_UNTESTED_NEDIT
+LIBS= ${EXTRALINKFLAGS} ${MOTIFLINK} -lXp \
+LIBS= ${EXTRALINKFLAGS} ${MOTIFLINK} \
-lXpm -lXext -lXt -lSM -lICE -lX11
#