Changeset 50768


Ignore:
Timestamp:
May 9, 2009, 12:04:44 AM (11 years ago)
Author:
jmr@…
Message:

nedit: don't build against system X11 (#19576)

Location:
trunk/dports/editors/nedit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/editors/nedit/Portfile

    r46584 r50768  
    3333
    3434build.args      MOTIFLINK="${configure.ldflags} -lXm" \
     35                MOTIFDIR=${prefix} \
    3536                LDFLAGS="${configure.ldflags}" \
    3637                CFLAGS="${configure.cppflags} ${configure.cflags} -DBUILD_UNTESTED_NEDIT" \
  • trunk/dports/editors/nedit/files/patch-Makefile.macosx

    r30510 r50768  
    11--- makefiles/Makefile.macosx.org       2004-07-14 12:48:21.000000000 -0700
    22+++ makefiles/Makefile.macosx   2007-10-29 20:27:27.000000000 -0700
    3 @@ -9,7 +9,7 @@
    4  # Change this line to point at the location your Motif libraries/headers are
    5  # installed.  (e.g. /usr/local or /sw)  Use "locate libXm." to find the
    6  # libraries, then remove the /lib suffix.
    7 -MOTIFDIR=/usr/local
    8 +MOTIFDIR=/usr/X11R6
    9  
    10  # Use the first line if you're using OpenMotif, use the second if you're using
    11  # LessTif from Fink.
    123@@ -19,8 +19,8 @@
    134 # Use the first line to link to Motif statically (highly recommended) or the
     
    2112 
    2213 ############### You shouldn't need to edit anything below here ##############
    23 @@ -37,7 +37,7 @@
     14@@ -36,9 +36,9 @@
     15 # To test if the Motif library exports the runtime version
    2416 # add -DHAVE__XMVERSIONSTRING to CFLAGS
    2517 #
    26  CFLAGS=-O -no-cpp-precomp -mdynamic-no-pic -DNO_XMIM -I/usr/X11R6/include \
     18-CFLAGS=-O -no-cpp-precomp -mdynamic-no-pic -DNO_XMIM -I/usr/X11R6/include \
    2719-        -I${MOTIFDIR}/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD
     20-LIBS= ${EXTRALINKFLAGS} -L/usr/X11R6/lib ${MOTIFLINK} -lXp \
     21+CFLAGS=-O -no-cpp-precomp -mdynamic-no-pic -DNO_XMIM \
    2822+        -I${MOTIFDIR}/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DBUILD_UNTESTED_NEDIT
    29  LIBS= ${EXTRALINKFLAGS} -L/usr/X11R6/lib ${MOTIFLINK} -lXp \
     23+LIBS= ${EXTRALINKFLAGS} ${MOTIFLINK} -lXp \
    3024         -lXpm -lXext -lXt -lSM -lICE -lX11
    3125 
     26 #
Note: See TracChangeset for help on using the changeset viewer.